@@ -15,8 +15,9 @@ header:
- kas/opt/efibootguard.yml
local_conf_header:
- image-options: |
- CIP_IMAGE_OPTIONS_append = " read-only.inc"
+ image-options-swupdate-ro: |
+ CIP_IMAGE_OPTIONS_append = " swupdate.inc read-only.inc"
+
swupdate: |
IMAGE_INSTALL_append = " swupdate"
IMAGE_INSTALL_append = " swupdate-handler-roundrobin"
@@ -19,6 +19,9 @@ local_conf_header:
IMAGE_INSTALL_append = " swupdate"
IMAGE_INSTALL_append = " swupdate-handler-roundrobin"
+ image-option-swupdate: |
+ CIP_IMAGE_OPTIONS_append = " swupdate.inc"
+
wic-swu: |
IMAGE_FSTYPES = "wic-swu-img"
WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks"
@@ -11,12 +11,11 @@
inherit image
inherit image_uuid
+
ISAR_RELEASE_CMD = "git -C ${LAYERDIR_cip-core} describe --tags --dirty --always --match 'v[0-9].[0-9]*'"
DESCRIPTION = "CIP Core image"
IMAGE_INSTALL += "customizations"
-# for swupdate
-SWU_DESCRIPTION ??= "swupdate"
-CIP_IMAGE_OPTIONS ?= "${SWU_DESCRIPTION}.inc"
+CIP_IMAGE_OPTIONS ?= ""
include ${CIP_IMAGE_OPTIONS}