rrs/tools/rrs_unique_recipes.py: Also filter -source recipes.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
Aníbal Limón 2015-07-07 11:28:17 -05:00
parent 2404b45c5e
commit d75b296349

View File

@ -49,7 +49,7 @@ if __name__=="__main__":
# remove native, nativesdk cross and initial recipes
logger.info('Starting remove of recipes with preffix or suffix ...')
words = ['nativesdk-', '-native', '-cross', '-initial']
words = ['nativesdk-', '-native', '-cross', '-initial', '-source']
for layerbranch in LayerBranch.objects.all():
for recipe in Recipe.objects.filter(layerbranch=layerbranch):
match = any(w in recipe.pn for w in words)