summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-12 12:04:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-14 08:21:00 +0100
commit6670be71f75c3d7e11362d7c9076ca4de75b50f4 (patch)
tree485fcc33b9f2a7de82db59fd72485fa68ac1d316 /meta/classes
parentee7ccda0ec5d0be79bb65868c5827dea91710b2f (diff)
downloadpoky-6670be71f75c3d7e11362d7c9076ca4de75b50f4.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/testimage.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 4eef0be1d6..c83906d0f8 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -122,6 +122,7 @@ def testimage_main(d):
122 122
123 qemu = QemuRunner(machine, rootfs) 123 qemu = QemuRunner(machine, rootfs)
124 qemu.tmpdir = d.getVar("TMPDIR", True) 124 qemu.tmpdir = d.getVar("TMPDIR", True)
125 qemu.deploy_dir_image = d.getVar("DEPLOY_DIR_IMAGE", True)
125 qemu.display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True) 126 qemu.display = d.getVar("BB_ORIGENV", False).getVar("DISPLAY", True)
126 qemu.logfile = os.path.join(testdir, "qemu_boot_log.%s" % d.getVar('DATETIME', True)) 127 qemu.logfile = os.path.join(testdir, "qemu_boot_log.%s" % d.getVar('DATETIME', True))
127 try: 128 try: