diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-01-20 13:06:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 13:29:20 +0000 |
commit | a757d397dbc39ca479321263bafcc129451f21f1 (patch) | |
tree | d7fd5b03e671e1fa1475fdb10950d8f7097c986d /bitbake | |
parent | baac4589ae20b425f9afce1488cbd0d54bb36421 (diff) | |
download | openembedded-core-contrib-a757d397dbc39ca479321263bafcc129451f21f1.tar.gz |
bitbake: toaster: include locale and packagegroup packages in custom image
The custom image editing page doesn't show locale and packagegroup
packages: they are filtered out of the queryset used to populate
the ToasterTable.
Rather than filtering these packages out, include them in the list
of packages which are shown.
(Bitbake rev: 38a753e7b2e9ede326856b830b25e13bdd6d0d9b)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 2903a81696..b73f459b2c 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -738,15 +738,10 @@ class SelectPackagesTable(PackagesTable): current_recipes = prj.get_available_recipes() - # Exclude ghost packages and ones which have locale in the name - # This is a work around locale packages being dynamically created - # and therefore not recognised as packages by bitbake. - # We also only show packages which recipes->layers are in the project + # only show packages where recipes->layers are in the project self.queryset = CustomImagePackage.objects.filter( ~Q(recipe=None) & - Q(recipe__in=current_recipes) & - ~Q(name__icontains="locale") & - ~Q(name__icontains="packagegroup")) + Q(recipe__in=current_recipes)) self.queryset = self.queryset.order_by('name') |