Skip to content

Read-only rootfs for non-secure swupdate / cleanups / fixes

Jan Kiszka cip-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5squashfs-img: Cosmetic cleanupsclasses/squashfs-img.bbclass+6 -60 replies
2/5verity-img: Inherit the source image type class directlyclasses/secure-wic-swu-img.bbclass classes/verity-img.bbclass+8 -110 replies
3/5swupdate: Make rootfs read-only also in non-secure setupclasses/wic-swu-img.bbclass kas/opt/ebg-secure-boot-snakeoil.yml kas/opt/efibootguard.yml +8 more+43 -510 replies
4/5Restrict OVMF to qemu-amd64 machinekas/opt/efibootguard.yml+5 -50 replies
5/5wic: Drop redundant / misleading --ondisk sda parameterswic/ebg-signed-bootloader.inc wic/ebg-sysparts.inc wic/qemu-amd64-efibootguard-secureboot.wks.in +1 more+12 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [isar-cip-core][PATCH 0/5] Read-only rootfs for non-secure swupdate / cleanups / fixes

Unifies secure and non-secure swupdate variants further by using a read-only rootfs in both cases. See patchs for more details.

Applies on top of "SWUpdate & EFI Boot Guard refactorings".

Jan

Jan Kiszka (5):
squashfs-img: Cosmetic cleanups
verity-img: Inherit the source image type class directly
swupdate: Make rootfs read-only also in non-secure setup Restrict OVMF to qemu-amd64 machine
wic: Drop redundant / misleading --ondisk sda parameters

 classes/secure-wic-swu-img.bbclass            |  9 +-----
 classes/squashfs-img.bbclass                  | 12 ++++----
 classes/verity-img.bbclass                    | 10 +++++--
 classes/wic-swu-img.bbclass                   | 23 ++++++++++++++
 kas/opt/ebg-secure-boot-snakeoil.yml          |  7 ++---
 kas/opt/efibootguard.yml                      | 12 ++++----
 kas/opt/swupdate.yml                          |  2 +-
 recipes-core/images/read-only.inc             | 30 -------------------
 wic/ebg-signed-bootloader.inc                 |  2 +-
 wic/ebg-sysparts.inc                          |  6 ++--
 wic/qemu-amd64-efibootguard-secureboot.wks.in | 12 ++++----
 wic/qemu-amd64-efibootguard.wks               |  6 ----
 wic/qemu-amd64-efibootguard.wks.in            |  1 +
 wic/simatic-ipc227e-efibootguard.wks          |  7 -----
 wic/simatic-ipc227e-efibootguard.wks.in       |  1 +
 wic/simatic-ipc227e.wks                       |  4 +--
 wic/swupdate-partition.inc                    |  2 --
 wic/x86-efibootguard.wks.in                   | 13 ++++++++
 18 files changed, 74 insertions(+), 85 deletions(-)
 delete mode 100644 recipes-core/images/read-only.inc
 delete mode 100644 wic/qemu-amd64-efibootguard.wks
 create mode 120000 wic/qemu-amd64-efibootguard.wks.in
 delete mode 100644 wic/simatic-ipc227e-efibootguard.wks
 create mode 120000 wic/simatic-ipc227e-efibootguard.wks.in
 delete mode 100644 wic/swupdate-partition.inc
 create mode 100644 wic/x86-efibootguard.wks.in
Signature · 1 line
2.34.1