summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-07-26 16:39:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-01 21:45:55 +0100
commitd19645bcde67be5030cb53f4b492ad86631166f1 (patch)
treef50532cd278e544b2e04a1ca2d14d1263f6495b5 /scripts/lib/wic/canned-wks/systemd-bootdisk.wks
parentfe0114869ec386ebbd7fd002df9532f39c8285f2 (diff)
downloadpoky-d19645bcde67be5030cb53f4b492ad86631166f1.tar.gz
wic: rename and amend systemd-boot wks file
Rename wks for systemd-boot per the suggestion from community. Also amend description to distinguish it from others when running "wic list images". (From OE-Core rev: 6303dbbaa08214a37caf38e3b6b5a30a108bd3b7) Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/canned-wks/systemd-bootdisk.wks')
-rw-r--r--scripts/lib/wic/canned-wks/systemd-bootdisk.wks11
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 0000000000..d80189bcb7
--- /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
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
8
9part swap --ondisk sda --size 44 --label swap1 --fstype=swap
10
11bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"