diff mbox series

[isar-cip-core] Convert misleading 'include' to 'require'

Message ID 5a3458cd-2b7c-eba2-f7a2-26e678c05a9f@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [isar-cip-core] Convert misleading 'include' to 'require' | expand

Commit Message

Jan Kiszka Oct. 7, 2022, 12:02 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Both recipes actually require the includes (if non-empty), so use the
right statement.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 recipes-core/images/cip-core-image.bb                  | 2 +-
 recipes-core/swupdate/swupdate_2021.11-1+debian-gbp.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb
index 3f8c3202..0ec72208 100644
--- a/recipes-core/images/cip-core-image.bb
+++ b/recipes-core/images/cip-core-image.bb
@@ -17,4 +17,4 @@  DESCRIPTION = "CIP Core image"
 IMAGE_INSTALL += "customizations"
 
 CIP_IMAGE_OPTIONS ?= ""
-include ${CIP_IMAGE_OPTIONS}
+require ${CIP_IMAGE_OPTIONS}
diff --git a/recipes-core/swupdate/swupdate_2021.11-1+debian-gbp.bb b/recipes-core/swupdate/swupdate_2021.11-1+debian-gbp.bb
index 086911b9..7bcf015c 100644
--- a/recipes-core/swupdate/swupdate_2021.11-1+debian-gbp.bb
+++ b/recipes-core/swupdate/swupdate_2021.11-1+debian-gbp.bb
@@ -10,7 +10,7 @@ 
 
 inherit dpkg-gbp
 
-include swupdate.inc
+require swupdate.inc
 
 SRC_URI = "git://salsa.debian.org/debian/swupdate.git;protocol=https;branch=debian/master"
 SRCREV ="344548c816b555c58ec199f31e45703897d23fb5"