mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake.conf: include machine name in DEPLOY_DIR_IMAGE
This allows a clean seperation between image outputs from different machines, and makes it possible to have convenience symlinks to make the output ready to deploy. This did require some surgery in runqemu; if explicit paths to the image and kernel are not supplied then DEPLOY_DIR_IMAGE needs to be determined from bitbake or set in the environment. However the script does try to avoid requiring it unless it really is needed. Corresponding changes were made in the automated testing code as well. Based on an RFC patch by Koen Kooi <koen@dominion.thruhere.net> (From OE-Core rev: 7e90261aec61f79680b5eaeaf5b18c7b795412a4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ee7ccda0ec
commit
6670be71f7
@@ -122,6 +122,7 @@ def testimage_main(d):
|
||||
|
||||
qemu = QemuRunner(machine, rootfs)
|
||||
qemu.tmpdir = d.getVar("TMPDIR", True)
|
||||
qemu.deploy_dir_image = d.getVar("DEPLOY_DIR_IMAGE", True)
|
||||
qemu.display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
|
||||
qemu.logfile = os.path.join(testdir, "qemu_boot_log.%s" % d.getVar('DATETIME', True))
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user