diff mbox series

[isar-cip-core,05/19] Drop initramfs-abrootfs-secureboot references

Message ID 6d0bd2b8f9a8f3ba4364934d3de70495df5c07cb.1649834193.git.jan.kiszka@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series SWUpdate & EFI Boot Guard refactorings | expand

Commit Message

Jan Kiszka April 13, 2022, 7:16 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

As secure boot implies for isar-cip-core dm-verity with read-only
rootfs, we only added initramfs-abrootfs-secureboot to remove it again.
So don't reference it at all. It will be used differently soon,
therefore keep the recipe.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 kas/opt/ebg-secure-boot-base.yml  | 3 +--
 recipes-core/images/read-only.inc | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/kas/opt/ebg-secure-boot-base.yml b/kas/opt/ebg-secure-boot-base.yml
index 8f769b6..299b663 100644
--- a/kas/opt/ebg-secure-boot-base.yml
+++ b/kas/opt/ebg-secure-boot-base.yml
@@ -15,7 +15,6 @@  header:
    - kas/opt/efibootguard.yml
 
 local_conf_header:
-  initramfs: |
-    IMAGE_INSTALL += "initramfs-abrootfs-secureboot"
+  secure_swu: |
     SWU_DESCRIPTION = "secureboot"
     SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG = "secureboot/swupdate.handler.${SWUPDATE_BOOTLOADER}.ini"
diff --git a/recipes-core/images/read-only.inc b/recipes-core/images/read-only.inc
index 604caa0..c031e39 100644
--- a/recipes-core/images/read-only.inc
+++ b/recipes-core/images/read-only.inc
@@ -14,7 +14,6 @@  SQUASHFS_EXCLUDE_DIRS += "home var"
 IMAGE_INSTALL += "etc-overlay-fs"
 IMAGE_INSTALL += "home-fs"
 IMAGE_INSTALL += "tmp-fs"
-IMAGE_INSTALL_remove += "initramfs-abrootfs-secureboot"
 
 image_configure_fstab() {
     sudo tee '${IMAGE_ROOTFS}/etc/fstab' << EOF