]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: Define OECORE_MACHINE_SYSROOT on setup_sysroot
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Tue, 14 Jul 2015 20:07:12 +0000 (20:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:09 +0000 (22:47 +0100)
commitbded344a464bb854db3935da1f6a3320e5aa01e5
treefb0febc9347ada5992ee9d88084b6ef3f602e2d5
parent9dde1ce547c8be064ff63ac832f62a08a9b00f10
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>
scripts/runqemu