[oe-commits] [openembedded-core] 03/17: staging: Always use the default sysroot for allarch recipes

git at git.openembedded.org git at git.openembedded.org
Sun Jul 29 23:03:14 UTC 2018


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

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

commit a46011097e76813a440a5497d97e56b83541bcb5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jul 3 12:06:37 2018 +0100

    staging: Always use the default sysroot for allarch recipes
    
    Without this, recipes can't find allarch data files like autoconf-archive.
    
    (From OE-Core rev: 8ae70703f68853a8714a4fb8fa5d959b5e21a02d)
    
    (From OE-Core rev: 9e7aaabc456e186274912edcf6b7f5bb2be1333d)
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/staging.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 91cbc20..939042e 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -474,6 +474,9 @@ python extend_recipe_sysroot() {
             # We need a consistent WORKDIR for the image
             d2.setVar("WORKDIR", d.getVar("WORKDIR"))
         destsysroot = d2.getVar("RECIPE_SYSROOT")
+        # We put allarch recipes into the default sysroot
+        if manifest and "allarch" in manifest:
+            destsysroot = d.getVar("RECIPE_SYSROOT")
 
         native = False
         if c.endswith("-native") or "-cross-" in c or "-crosssdk" in c:

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


More information about the Openembedded-commits mailing list