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 17:57:48 +0100 |
commit | 3b1a2baa95fee7479e85379c0f6f4d54c0db2042 (patch) | |
tree | 19d36f9f178720d31135e9c0f748df75ceceb737 /scripts/lib/image/canned-wks | |
parent | d8db122114f4d0600b662f79b3673108b4b6c0b7 (diff) | |
download | openembedded-core-3b1a2baa95fee7479e85379c0f6f4d54c0db2042.tar.gz openembedded-core-3b1a2baa95fee7479e85379c0f6f4d54c0db2042.tar.bz2 openembedded-core-3b1a2baa95fee7479e85379c0f6f4d54c0db2042.zip |
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@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/image/canned-wks')
-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 @@ +# 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 " + |