aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/mkefidisk.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-02 23:46:49 +0100
commit5dc02d572794298b3362378cea3d7da654456c44 (patch)
treef59077c3c62cf320e1f4700c244bad6e82fb1936 /scripts/lib/wic/canned-wks/mkefidisk.wks
parentd281a65a81f369fc8d75023b8f911ce4106969c1 (diff)
downloadopenembedded-core-contrib-5dc02d572794298b3362378cea3d7da654456c44.tar.gz
openembedded-core-contrib-5dc02d572794298b3362378cea3d7da654456c44.tar.bz2
openembedded-core-contrib-5dc02d572794298b3362378cea3d7da654456c44.zip
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. 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/mkefidisk.wks')
-rw-r--r--scripts/lib/wic/canned-wks/mkefidisk.wks11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/mkefidisk.wks b/scripts/lib/wic/canned-wks/mkefidisk.wks
new file mode 100644
index 00000000000..696e94e3d78
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/mkefidisk.wks
@@ -0,0 +1,11 @@
+# short-description: Create an EFI disk image
+# long-description: Creates a partitioned EFI disk image that the user
+# can directly dd to boot media.
+
+part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
+
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
+
+part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+
+bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"