[oe-commits] [openembedded-core] 56/61: recipeutils: set SRCPV for devupstream variant

git at git.openembedded.org git at git.openembedded.org
Sat Dec 28 23:27:09 UTC 2019


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

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

commit 24e59094de42b4b0bed3584ca8571c4c19080428
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Tue Dec 17 19:54:02 2019 +0100

    recipeutils: set SRCPV for devupstream variant
    
    Otherwise bitbake is unable to expand it if the main
    variant is not using a SCM fetcher.
    
    Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oe/recipeutils.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 630ae96..f53c2b7 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -421,6 +421,8 @@ def copy_recipe_files(d, tgt_dir, whole_dir=False, download=True, all_variants=F
             # Ensure we handle class-target if we're dealing with one of the variants
             variants.append('target')
             for variant in variants:
+                if variant.startswith("devupstream"):
+                    localdata.setVar('SRCPV', 'git')
                 localdata.setVar('CLASSOVERRIDE', 'class-%s' % variant)
                 fetch_urls(localdata)
 

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


More information about the Openembedded-commits mailing list