diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-02-20 21:01:01 -0300 |
---|---|---|
committer | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-03-27 22:10:35 -0300 |
commit | d29a52702f0e2aba6680835c347e54e28f6be4dd (patch) | |
tree | 8da0731a69319d001f5a6ebe365f48a15a9178d5 /wic | |
parent | 06cfa3023170aa3be422f9f376146f47ffb16553 (diff) |
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 <ricardo@opensourcefoundries.com>
Diffstat (limited to 'wic')
-rw-r--r-- | wic/efidisk-sota.wks | 8 |
1 files changed, 8 insertions, 0 deletions
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" |