@@ -22,3 +22,5 @@ LAYERSERIES_COMPAT_cip-core = "next"
LAYERDIR_cip-core = "${LAYERDIR}"
LAYERDIR_cip-core[vardepvalue] = "isar-cip-core"
+
+IMAGE_CLASSES += "squashfs verity swupdate"
@@ -151,7 +151,6 @@ header:
local_conf_header:
secure-boot-image: |
- IMAGE_CLASSES += "verity"
IMAGE_FSTYPES = "wic"
WKS_FILE = "${MACHINE}-efibootguard-secureboot.wks.in"
INITRAMFS_INSTALL:append = " initramfs-verity-hook"
@@ -16,7 +16,6 @@ header:
local_conf_header:
secure-boot-image: |
- IMAGE_CLASSES += "verity"
IMAGE_FSTYPES = "wic"
IMAGE_TYPEDEP:wic += "verity"
WKS_FILE = "${MACHINE}-efibootguard-secureboot.wks.in"
@@ -19,7 +19,6 @@ local_conf_header:
CIP_IMAGE_OPTIONS:append = " swupdate.inc"
wic-swu: |
- IMAGE_CLASSES += "squashfs"
IMAGE_TYPEDEP:wic += "squashfs"
IMAGE_FSTYPES = "wic"
WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks.in"
This patch registers the provided image classes via the bblayer.conf file. By that, no manual additions of these classes via kas is required and erronous implementations are detected early (e.g. mandatory inputs without defaults). Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> --- conf/layer.conf | 2 ++ doc/README.secureboot.md | 1 - kas/opt/ebg-secure-boot-snakeoil.yml | 1 - kas/opt/swupdate.yml | 1 - 4 files changed, 2 insertions(+), 3 deletions(-)