summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2014-08-11 20:35:41 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:19:55 +0100
commit5979409ebfab0bb07b3c2b2fcf14a722c441f07b (patch)
tree40fcb931978e87d3fb588d9bcb52d21b090d0def /scripts
parentccef1385cb51ce2b9b75493b314e38599a8ae10e (diff)
downloadopenembedded-core-5979409ebfab0bb07b3c2b2fcf14a722c441f07b.tar.gz
openembedded-core-5979409ebfab0bb07b3c2b2fcf14a722c441f07b.tar.bz2
openembedded-core-5979409ebfab0bb07b3c2b2fcf14a722c441f07b.zip
wic: Add mkgummidisk kickstart file
This is the same as mkefidisk but uses gummiboot instead of grub-efi. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/image/canned-wks/mkgummidisk.wks11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/lib/image/canned-wks/mkgummidisk.wks b/scripts/lib/image/canned-wks/mkgummidisk.wks
new file mode 100644
index 0000000000..f81cbdfb84
--- /dev/null
+++ b/scripts/lib/image/canned-wks/mkgummidisk.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=gummiboot" --ondisk sda --label msdos --active --align 1024
+
+part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024
+
+part swap --ondisk sda --size 44 --label swap1 --fstype=swap
+
+bootloader --timeout=10 --append="rootwait rootfstype=ext3 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"