summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2016-11-08 08:11:06 -0800
committerSaul Wold <sgw@linux.intel.com>2016-11-10 07:47:27 -0800
commitc42dd36b541ba957511419764c36e821897e2cab (patch)
tree97d69d2be99d0aee6d7d26d4a47a4fe4892d99a4 /scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks
parent00fe8dba899fe21bf49a1e93f3dd1d5e5fafbca0 (diff)
downloadmeta-intel-c42dd36b541ba957511419764c36e821897e2cab.tar.gz
systemd-bootdisk.wks: Rename to systemd-bootdisk-uuid.wks
This change is required because it was unconditionally overriding the OE-Core systemd-boot.wks which is against the Yocto Project compatible requirements. This is also temporary for morty and will be removed from master once the OE-Core version is corrected [YOCTO #10610] Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks')
-rw-r--r--scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks b/scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.wks
new file mode 100644
index 00000000..fecaac2d
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/systemd-bootdisk-uuid.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
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
6
7part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
8
9part swap --ondisk sda --size 44 --label swap1 --fstype=swap
10
11bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=tty0"