diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2015-08-14 18:54:11 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 18:05:33 +0100 |
commit | b7cd76810a0373b233634ff3443d4af6b8b6ab68 (patch) | |
tree | e27ad43354690018f309b2c1ca96e0c35a7e64d1 /scripts/lib/image | |
parent | 3aaea35bb593e41def90e0a0902d57ddcd9f3419 (diff) | |
download | poky-b7cd76810a0373b233634ff3443d4af6b8b6ab68.tar.gz |
canned-wks: added a qemux86* directdisk recipe for wic
qemu-directdisk.wks creates a raw disk image
that a qemux86* machine can boot from.
(From OE-Core rev: 3b1a2baa95fee7479e85379c0f6f4d54c0db2042)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image')
-rw-r--r-- | scripts/lib/image/canned-wks/qemux86-directdisk.wks | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000000..8fc38b54d0 --- /dev/null +++ b/scripts/lib/image/canned-wks/qemux86-directdisk.wks | |||
@@ -0,0 +1,10 @@ | |||
1 | # short-description: Create a qemu machine 'pcbios' direct disk image | ||
2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
3 | # can directly use to boot a qemu machine. | ||
4 | |||
5 | |||
6 | part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 | ||
7 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 | ||
8 | |||
9 | 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 " | ||
10 | |||