diff options
Diffstat (limited to 'import-layers/yocto-poky/scripts/lib/wic/canned-wks/mkefidisk.wks')
-rw-r--r-- | import-layers/yocto-poky/scripts/lib/wic/canned-wks/mkefidisk.wks | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/scripts/lib/wic/canned-wks/mkefidisk.wks b/import-layers/yocto-poky/scripts/lib/wic/canned-wks/mkefidisk.wks new file mode 100644 index 000000000..696e94e3d --- /dev/null +++ b/import-layers/yocto-poky/scripts/lib/wic/canned-wks/mkefidisk.wks @@ -0,0 +1,11 @@ +# short-description: Create an EFI disk image +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. + +part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 + +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 + +part swap --ondisk sda --size 44 --label swap1 --fstype=swap + +bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0" |