diff options
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 08b1a7ca0d..d3277efb1f 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1548,11 +1548,10 @@ class CustomImageRecipe(Recipe): | |||
1548 | # "require core-image-minimal.bb" is changed to: | 1548 | # "require core-image-minimal.bb" is changed to: |
1549 | # "require recipes-core/images/core-image-minimal.bb" | 1549 | # "require recipes-core/images/core-image-minimal.bb" |
1550 | 1550 | ||
1551 | if "require" in base_recipe: | 1551 | req_search = re.search(r'(require\s+)(.+\.bb\s*$)', |
1552 | req_search = re.search(r'(require\s+)(.+\.bb\s*$)', | ||
1553 | base_recipe, | 1552 | base_recipe, |
1554 | re.MULTILINE) | 1553 | re.MULTILINE) |
1555 | 1554 | if req_search: | |
1556 | require_filename = req_search.group(2).strip() | 1555 | require_filename = req_search.group(2).strip() |
1557 | 1556 | ||
1558 | corrected_location = Recipe.objects.filter( | 1557 | corrected_location = Recipe.objects.filter( |