diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2015-07-14 20:07:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-12 22:47:09 +0100 |
commit | bded344a464bb854db3935da1f6a3320e5aa01e5 (patch) | |
tree | fb0febc9347ada5992ee9d88084b6ef3f602e2d5 /meta/classes/ptest.bbclass | |
parent | 9dde1ce547c8be064ff63ac832f62a08a9b00f10 (diff) | |
download | openembedded-core-bded344a464bb854db3935da1f6a3320e5aa01e5.tar.gz openembedded-core-bded344a464bb854db3935da1f6a3320e5aa01e5.tar.bz2 openembedded-core-bded344a464bb854db3935da1f6a3320e5aa01e5.zip |
runqemu: Define OECORE_MACHINE_SYSROOT on setup_sysroot
At least the OVFM (UEFI Firmware for Qemu and KVM) recipe stores the BIOS
under $OE_TMPDIR/sysroots/$MACHINE, now defined as OECORE_MACHINE_SYSROOT.
The latter is used when searching BIOS, VGA BIOS and keymaps. As a example,
to boot a OVFM BIOS, one can run the following command:
$ runqemu qemux86-64 core-image-minimal \
biosdir=usr/share/ovmf \
biosfilename=bios.bin \
nographic
Note the bios* parameters: these two are needed to specify the subfolder
(parent folder is OECORE_MACHINE_SYSROOT) and BIOS filename (without it,
it picks a BIOS named bios-256k.bin).
[YOCTO #5654]
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/ptest.bbclass')
0 files changed, 0 insertions, 0 deletions