[oe-commits] Cristian Iorga : canned-wks: added a qemux86* directdisk recipe for wic

git at git.openembedded.org git at git.openembedded.org
Wed Aug 19 17:08:20 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 3b1a2baa95fee7479e85379c0f6f4d54c0db2042
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3b1a2baa95fee7479e85379c0f6f4d54c0db2042

Author: Cristian Iorga <cristian.iorga at intel.com>
Date:   Fri Aug 14 18:54:11 2015 +0300

canned-wks: added a qemux86* directdisk recipe for wic

qemu-directdisk.wks creates a raw disk image
that a qemux86* machine can boot from.

Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 scripts/lib/image/canned-wks/qemux86-directdisk.wks | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/scripts/lib/image/canned-wks/qemux86-directdisk.wks b/scripts/lib/image/canned-wks/qemux86-directdisk.wks
new file mode 100644
index 0000000..8fc38b5
--- /dev/null
+++ b/scripts/lib/image/canned-wks/qemux86-directdisk.wks
@@ -0,0 +1,10 @@
+# short-description: Create a qemu machine 'pcbios' direct disk image
+# long-description: Creates a partitioned legacy BIOS disk image that the user
+# can directly use to boot a qemu machine.
+
+
+part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
+
+bootloader  --timeout=0  --append="vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda2 rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "
+



More information about the Openembedded-commits mailing list