From: Jan Kiszka <jan.kiszka@...>
The usage of class is not bound to wic, thus we should not declare any
dependency of wic on it. This makes the verity pattern analogous to the
squashfs one (for non-secure booting).
Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
classes/verity.bbclass | 1 -
kas/opt/ebg-secure-boot-snakeoil.yml | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/verity.bbclass b/classes/verity.bbclass
index 0f154fb6..b6b06f41 100644
--- a/classes/verity.bbclass
+++ b/classes/verity.bbclass
@@ -14,7 +14,6 @@ VERITY_IMAGE_TYPE ?= "squashfs"
inherit ${VERITY_IMAGE_TYPE}
IMAGE_TYPEDEP_verity = "${VERITY_IMAGE_TYPE}"
-IMAGE_TYPEDEP_wic += "verity"
IMAGER_INSTALL_verity += "cryptsetup"
VERITY_INPUT_IMAGE ?= "${IMAGE_FULLNAME}.${VERITY_IMAGE_TYPE}"
diff --git a/kas/opt/ebg-secure-boot-snakeoil.yml b/kas/opt/ebg-secure-boot-snakeoil.yml
index f756ceea..e92ea5e0 100644
--- a/kas/opt/ebg-secure-boot-snakeoil.yml
+++ b/kas/opt/ebg-secure-boot-snakeoil.yml
@@ -18,6 +18,7 @@ local_conf_header:
secure-boot-image: |
IMAGE_CLASSES += "verity"
IMAGE_FSTYPES = "wic"
+ IMAGE_TYPEDEP_wic += "verity"
WKS_FILE = "${MACHINE}-efibootguard-secureboot.wks.in"
INITRAMFS_INSTALL_append = " initramfs-verity-hook"
# abrootfs cannot be installed together with verity
--
2.35.3