diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-17 19:54:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:42 +0000 |
commit | 40f28d15c5808207461f6064d15965d9f92a8d09 (patch) | |
tree | ae483221fd19b9c54ec4bdcb2c771ffa66f3cdd8 | |
parent | 65767d35d1569abc2a656970206b97a8d5fd7484 (diff) | |
download | poky-40f28d15c5808207461f6064d15965d9f92a8d09.tar.gz |
recipeutils: set SRCPV for devupstream variant
Otherwise bitbake is unable to expand it if the main
variant is not using a SCM fetcher.
(From OE-Core rev: 24e59094de42b4b0bed3584ca8571c4c19080428)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oe/recipeutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 630ae967af..f53c2b7126 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 | |||
421 | # Ensure we handle class-target if we're dealing with one of the variants | 421 | # Ensure we handle class-target if we're dealing with one of the variants |
422 | variants.append('target') | 422 | variants.append('target') |
423 | for variant in variants: | 423 | for variant in variants: |
424 | if variant.startswith("devupstream"): | ||
425 | localdata.setVar('SRCPV', 'git') | ||
424 | localdata.setVar('CLASSOVERRIDE', 'class-%s' % variant) | 426 | localdata.setVar('CLASSOVERRIDE', 'class-%s' % variant) |
425 | fetch_urls(localdata) | 427 | fetch_urls(localdata) |
426 | 428 | ||