From: Jan Kiszka <jan.kiszka@...>
This allows to enable both SWUpdate and the security-extended image at
the same time.
Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
kas/opt/security.yml | 3 +++
recipes-core/images/cip-core-image-security.bb | 3 +++
2 files changed, 6 insertions(+)
diff --git a/kas/opt/security.yml b/kas/opt/security.yml
index c385a627..4d119056 100644
--- a/kas/opt/security.yml
+++ b/kas/opt/security.yml
@@ -18,3 +18,6 @@ local_conf_header:
USERS += "root"
USER_root[password] = "Cipsecurity@123"
USER_root[flags] = "clear-text-password"
+ adjust-swupdate: |
+ ABROOTFS_IMAGE_RECIPE = "cip-core-image-security"
+ VERITY_IMAGE_RECIPE = "cip-core-image-security"
diff --git a/recipes-core/images/cip-core-image-security.bb b/recipes-core/images/cip-core-image-security.bb
index bfd91bd3..563de897 100644
--- a/recipes-core/images/cip-core-image-security.bb
+++ b/recipes-core/images/cip-core-image-security.bb
@@ -43,3 +43,6 @@ IMAGE_PREINSTALL += " \
# Package names based on the distro version
IMAGE_PREINSTALL:append:buster = " libtss2-esys0"
IMAGE_PREINSTALL:append:bullseye = " libtss2-esys-3.0.2-0"
+
+CIP_IMAGE_OPTIONS ?= ""
+require ${CIP_IMAGE_OPTIONS}
--
2.35.3