From: Chee Yang Lee <[email protected]>
Signed-off-by: Chee Yang Lee <[email protected]>
---
scripts/lib/wic/canned-wks/wic-installer.wks.in | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 scripts/lib/wic/canned-wks/wic-installer.wks.in
diff --git a/scripts/lib/wic/canned-wks/wic-installer.wks.in
b/scripts/lib/wic/canned-wks/wic-installer.wks.in
new file mode 100644
index 0000000..a7b018d
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/wic-installer.wks.in
@@ -0,0 +1,7 @@
+# description: Create wic installable image
+
+part /boot --source bootimg-efi
--sourceparams="loader=systemd-boot,title=install,label=install-efi,initrd=${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}"
--ondisk sda --label install --active --align 1024 --use-uuid
+
+part / --source installer-partition --ondisk sda --fstype=ext4 --label image
--use-uuid
+
+bootloader --ptable gpt --timeout=5 --append="rootwait console=ttyS0,115200
console=tty0"
--
2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core