mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
3aaea35bb5
commit
b7cd76810a
10
scripts/lib/image/canned-wks/qemux86-directdisk.wks
Normal file
10
scripts/lib/image/canned-wks/qemux86-directdisk.wks
Normal file
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user