mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
65767d35d1
commit
40f28d15c5
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user