From d29a52702f0e2aba6680835c347e54e28f6be4dd Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Tue, 20 Feb 2018 21:01:01 -0300 Subject: Add bootimg-sota-efi plugin and efidisk-sota.wks Based on the original bootimg-efi plugin but avoids copying the kernel image into /boot as that is not required by sota. Can be removed once upstream bootimg-efi plugin is able to accepted the exclude files argument. Signed-off-by: Ricardo Salveti --- wic/efidisk-sota.wks | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 wic/efidisk-sota.wks (limited to 'wic') diff --git a/wic/efidisk-sota.wks b/wic/efidisk-sota.wks new file mode 100644 index 0000000..ffe1174 --- /dev/null +++ b/wic/efidisk-sota.wks @@ -0,0 +1,8 @@ +# short-description: Create an OTA-enabled EFI disk image +# long-description: Creates an OTA-enabled EFI disk image that the user +# can directly dd to boot media. + +part /boot/efi --source bootimg-sota-efi --sourceparams="loader=grub-efi" --ondisk sda --active --align 1024 --use-uuid +part / --source otaimage --ondisk sda --fstype=ext4 --align 1024 --use-uuid + +bootloader --ptable gpt --configfile="grub-ota.cfg" -- cgit v1.2.3