summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/orm/models.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 5e715e302f..183cc3218c 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1518,14 +1518,9 @@ class CustomImageRecipe(Recipe):
1518 else: 1518 else:
1519 packages_conf = "IMAGE_FEATURES =\"\"\nIMAGE_INSTALL = \"" 1519 packages_conf = "IMAGE_FEATURES =\"\"\nIMAGE_INSTALL = \""
1520 # We add all the known packages to be built by this recipe apart 1520 # We add all the known packages to be built by this recipe apart
1521 # from the packagegroups, which would bring the excluded package 1521 # from locale packages which are are controlled with IMAGE_LINGUAS.
1522 # back in and locale packages which are dynamic packages which 1522 for pkg in self.get_all_packages().exclude(
1523 # bitbake will not know about. 1523 name__icontains="locale"):
1524 for pkg in \
1525 self.includes_set.exclude(
1526 Q(pk__in=self.excludes_set.values_list('pk', flat=True)) |
1527 Q(name__icontains="packagegroup") |
1528 Q(name__icontains="locale")):
1529 packages_conf += pkg.name+' ' 1524 packages_conf += pkg.name+' '
1530 1525
1531 packages_conf += "\"" 1526 packages_conf += "\""