mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
devtool: build_image: Fix recipe filter
The missing split() causes dev and dbg packages to match. (From OE-Core rev: bf83e0f0a3d52958c4380599f1afc4b8e058afd7) Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.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
d97aaac2d5
commit
07ebdbebdf
@@ -35,7 +35,7 @@ def _get_packages(tinfoil, workspace, config):
|
|||||||
for recipe in workspace:
|
for recipe in workspace:
|
||||||
data = parse_recipe(config, tinfoil, recipe, True)
|
data = parse_recipe(config, tinfoil, recipe, True)
|
||||||
if 'class-target' in data.getVar('OVERRIDES', True).split(':'):
|
if 'class-target' in data.getVar('OVERRIDES', True).split(':'):
|
||||||
if recipe in data.getVar('PACKAGES', True):
|
if recipe in data.getVar('PACKAGES', True).split():
|
||||||
result.append(recipe)
|
result.append(recipe)
|
||||||
else:
|
else:
|
||||||
logger.warning("Skipping recipe %s as it doesn't produce a "
|
logger.warning("Skipping recipe %s as it doesn't produce a "
|
||||||
|
|||||||
Reference in New Issue
Block a user