[oe-commits] [openembedded-core] 03/04: populate_sdk_ext: Avoid build failures where sstate was used

git at git.openembedded.org git at git.openembedded.org
Fri May 12 08:17:23 UTC 2017


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 6b9e8b780dcd8d5ffba3df35cfe41674413ee26d
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Mar 8 14:22:30 2017 +0000

    populate_sdk_ext: Avoid build failures where sstate was used
    
    If sstate was used to populate the build and one of the universal-4.8
    or universal-4.9 mirror urls was used, the sstate checks during eSDK
    construction could fail as it would zero out the SSTATE_MIRRORs
    variable.
    
    Use the same mirrors variable setting as the eSDK would end up using
    to perform the checks to avoid this.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 4dfb94c..69bc1d9 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -111,7 +111,7 @@ def create_filtered_tasklist(d, sdkbasepath, tasklistfile, conf_initpath):
         with open(sdkbasepath + '/conf/local.conf', 'a') as f:
             # Force the use of sstate from the build system
             f.write('\nSSTATE_DIR_forcevariable = "%s"\n' % d.getVar('SSTATE_DIR'))
-            f.write('SSTATE_MIRRORS_forcevariable = ""\n')
+            f.write('SSTATE_MIRRORS_forcevariable = "file://universal/(.*) file://universal-4.9/\\1 file://universal-4.9/(.*) file://universal-4.8/\\1"\n')
             # Ensure TMPDIR is the default so that clean_esdk_builddir() can delete it
             f.write('TMPDIR_forcevariable = "${TOPDIR}/tmp"\n')
             f.write('TCLIBCAPPEND_forcevariable = ""\n')

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


More information about the Openembedded-commits mailing list