[oe-commits] [openembedded-core] 41/59: populate_sdk_ext: fix working with uninative sstate

git at git.openembedded.org git at git.openembedded.org
Thu May 18 12:15:23 UTC 2017


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

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

commit 31ce79200035584c26576afe043688132532bc8b
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed Jan 4 20:48:17 2017 +0200

    populate_sdk_ext: fix working with uninative sstate
    
    Mapped uninative sstate directories to make ext SDK installer to
    use them when it's run on systems with gcc version different from
    gcc version used to build installer.
    
    [YOCTO #10832]
    
    (From OE-Core rev: fb945c0fd2e66d70461e6cf2e602020eeabe32f7)
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/populate_sdk_ext.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 6d8edca..9269a93 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -224,7 +224,10 @@ python copy_buildsystem () {
             f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n\n')
 
             # Hide the config information from bitbake output (since it's fixed within the SDK)
-            f.write('BUILDCFG_HEADER = ""\n')
+            f.write('BUILDCFG_HEADER = ""\n\n')
+
+            # Map gcc-dependent uninative sstate cache for installer usage
+            f.write('SSTATE_MIRRORS = "file://universal/(.*) file://universal-4.9/\\1\\nfile://universal-4.9/(.*) file://universal-4.8/\\1"\n\n')
 
             # Allow additional config through sdk-extra.conf
             fn = bb.cookerdata.findConfigFile('sdk-extra.conf', d)

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


More information about the Openembedded-commits mailing list