directdisk-gpt is the same as directdisk with only one difference:
it uses GPT partition table.

Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com>

 create mode 100644 scripts/lib/image/canned-wks/directdisk-gpt.wks

diff --git a/scripts/lib/image/canned-wks/directdisk-gpt.wks 
b/scripts/lib/image/canned-wks/directdisk-gpt.wks
new file mode 100644
index 0000000..76fda1f
--- /dev/null
+++ b/scripts/lib/image/canned-wks/directdisk-gpt.wks
@@ -0,0 +1,10 @@
+# short-description: Create a 'pcbios' direct disk image
+# long-description: Creates a partitioned legacy BIOS disk image that the user
+# can directly dd to boot media.
+
+
+part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 
1024
+part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024
+
+bootloader  --ptable gpt --timeout=0  --append="rootwait rootfstype=ext3 
video=vesafb vga=0x318 console=tty0"
+
-- 
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to