[oe-commits] [openembedded-core] 13/15: bitbake.conf/testimage: Add in compatiblity hacks

git at git.openembedded.org git at git.openembedded.org
Wed Jun 20 21:07:29 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e0835dbf4231e2ef87ff1cc9b90d5078ae5ff2af
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Jun 20 10:30:24 2018 +0100

    bitbake.conf/testimage: Add in compatiblity hacks
    
    The testimage changes break the autobuilder. The plan is to revert these hacks
    but due to various changes happening with the autobuilder, we need these for now
    to keep things working until we can move to the new autobuilder codebase.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/testimage.bbclass | 2 ++
 meta/conf/bitbake.conf         | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index fc8113a..5754f7f 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -391,3 +391,5 @@ python () {
     if oe.types.boolean(d.getVar("TESTIMAGE_AUTO") or False):
         bb.build.addtask("testimage", "do_build", "do_image_complete", d)
 }
+
+inherit testsdk
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index c4dba61..44ec869 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -487,7 +487,7 @@ HOSTTOOLS += " \
 "
 
 # Tools needed to run testimage runtime image testing
-HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d)) else ''}"
+HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in d.getVar("BBINCLUDED") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}"
 
 # Link to these if present
 HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat ssh sudo"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list