Please ignore, there are some troubles with non-KVM accelerated qemux86* machines. Better version in the work, the never-ending story of root mount points in KVM qemu/non-KVM qemu hit me. /Cristian
-----Original Message----- From: Iorga, Cristian Sent: Friday, August 14, 2015 6:54 PM To: openembedded-core@lists.openembedded.org Cc: Iorga, Cristian Subject: [PATCH] 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.io...@intel.com> --- scripts/lib/image/canned-wks/qemux86-directdisk.wks | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scripts/lib/image/canned-wks/qemux86-directdisk.wks 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 " + -- 2.1.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core