diff options
Diffstat (limited to 'wic/systemd-bootdisk-dmverity.wks.in')
-rw-r--r-- | wic/systemd-bootdisk-dmverity.wks.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wic/systemd-bootdisk-dmverity.wks.in b/wic/systemd-bootdisk-dmverity.wks.in index ef114ca..0ac9cca 100644 --- a/wic/systemd-bootdisk-dmverity.wks.in +++ b/wic/systemd-bootdisk-dmverity.wks.in @@ -1,3 +1,4 @@ +# short-description: Create an EFI disk image with systemd-boot and dm-verity # A dm-verity variant of the regular wks for IA machines. We need to fetch # the partition images from the IMGDEPLOYDIR as the rootfs source plugin will # not recreate the exact block device corresponding with the hash tree. We must @@ -5,10 +6,11 @@ # Based on OE-core's systemd-bootdisk.wks and meta-security's beaglebone-yocto-verity.wks.in file # # This .wks only works with the dm-verity-img class. +# Also note that the use of microcode.cpio introduces a meta-intel layer dependency. part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid -part / --source rawcopy --ondisk sda --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity" --use-uuid +part / --source rawcopy --ondisk sda --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}${IMAGE_NAME_SUFFIX}.${DM_VERITY_IMAGE_TYPE}.verity" --use-uuid part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid |