diff options
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 5a589d3589..c0ad2b7bfa 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py | |||
@@ -654,7 +654,9 @@ class PackagesTable(ToasterTable): | |||
654 | ).last() | 654 | ).last() |
655 | 655 | ||
656 | if target: | 656 | if target: |
657 | return target.build.package_set.all() | 657 | pkgs = target.target_installed_package_set.values_list('package', |
658 | flat=True) | ||
659 | return Package.objects.filter(pk__in=pkgs) | ||
658 | 660 | ||
659 | # Target/recipe never successfully built so empty queryset | 661 | # Target/recipe never successfully built so empty queryset |
660 | return Package.objects.none() | 662 | return Package.objects.none() |