diff options
| author | Saul Wold <sgw@linux.intel.com> | 2016-11-01 07:13:13 -0700 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2016-11-01 08:23:15 -0700 |
| commit | bd25743d3d43d75d7e665773eb906f772fa1b679 (patch) | |
| tree | 878fbe3c284558ac42b10f497c5106b76ae7cf8a /scripts/lib/wic | |
| parent | 9373044911df5eca470217f5c93e92c17793b319 (diff) | |
| download | meta-intel-bd25743d3d43d75d7e665773eb906f772fa1b679.tar.gz | |
systemd-bootdisk: Add WKS file with uuid support
Temporarily add a wks file to support systemd-boot with uuid, this patch is already
pending for OE-Core, but did not make the 2.2 release, by adding this here, it can
support both USB and SD devices.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic')
| -rw-r--r-- | scripts/lib/wic/canned-wks/systemd-bootdisk.wks | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk.wks b/scripts/lib/wic/canned-wks/systemd-bootdisk.wks new file mode 100644 index 00000000..fecaac2d --- /dev/null +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk.wks | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # short-description: Create an EFI disk image with systemd-boot | ||
| 2 | # long-description: Creates a partitioned EFI disk image that the user | ||
| 3 | # can directly dd to boot media. The selected bootloader is systemd-boot. | ||
| 4 | |||
| 5 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 | ||
| 6 | |||
| 7 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 8 | |||
| 9 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap | ||
| 10 | |||
| 11 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=tty0" | ||
