summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/directdisk-gpt.wks
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-02 13:58:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:25 +0100
commit7d4bb40905fab38fb3db1d0e17afbc803622f00c (patch)
treefea3791bf21dce5d7693ce0a695e49a5579b25b4 /scripts/lib/wic/canned-wks/directdisk-gpt.wks
parent77561e719181d58289687373eebadce764f838a7 (diff)
downloadpoky-7d4bb40905fab38fb3db1d0e17afbc803622f00c.tar.gz
wic: get rid of scripts/lib/image
Moved content of scripts/lib/image/ to scripts/lib/wic as one directory with the same name as a tool is self-explanatory and less confusing than two. (From OE-Core rev: 5dc02d572794298b3362378cea3d7da654456c44) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/canned-wks/directdisk-gpt.wks')
-rw-r--r--scripts/lib/wic/canned-wks/directdisk-gpt.wks10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/directdisk-gpt.wks b/scripts/lib/wic/canned-wks/directdisk-gpt.wks
new file mode 100644
index 0000000000..ea01cf3752
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/directdisk-gpt.wks
@@ -0,0 +1,10 @@
1# short-description: Create a 'pcbios' direct disk image
2# long-description: Creates a partitioned legacy BIOS disk image that the user
3# can directly dd to boot media.
4
5
6part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
7part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
8
9bootloader --ptable gpt --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0"
10