[meta-intel] [PATCH V2 4/5] canned-wks: add generic-bootdisk kickstart template

California Sullivan california.l.sullivan at intel.com
Thu Jul 6 18:30:47 PDT 2017


This is based off the template in meta-refkit.

It uses the image's boot directory to create a vfat boot partition,
which works with EFI. This works as a WKS_FILE target for the
uefi-comboapp, and will likely be useful in the future as well.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 scripts/lib/wic/canned-wks/generic-bootdisk.wks.in | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/generic-bootdisk.wks.in

diff --git a/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in b/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
new file mode 100644
index 0000000..31c708b
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
@@ -0,0 +1,6 @@
+# based off of refkit's refkit-directdisk.wks.in kickstart template
+# uses the image's boot directory to populate a vfat boot partition,
+# which works with EFI.
+bootloader --ptable gpt
+part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID}
-- 
2.9.4



More information about the meta-intel mailing list