diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 851e962c05..30ec39c24f 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2637,6 +2637,18 @@ if True: | |||
2637 | 2637 | ||
2638 | else: | 2638 | else: |
2639 | recipe.appends_set.add(package) | 2639 | recipe.appends_set.add(package) |
2640 | # Add the dependencies we think will be added to the recipe | ||
2641 | # as a result of appending this package. | ||
2642 | # TODO this should recurse down the entire deps tree | ||
2643 | for dep in package.package_dependencies_source.all_depends(): | ||
2644 | try: | ||
2645 | cust_package = CustomImagePackage.objects.get( | ||
2646 | name=dep.depends_on.name) | ||
2647 | |||
2648 | recipe.includes_set.add(cust_package) | ||
2649 | except: | ||
2650 | logger.warning("Could not add package's suggested" | ||
2651 | "dependencies to the list") | ||
2640 | 2652 | ||
2641 | return {"error": "ok"} | 2653 | return {"error": "ok"} |
2642 | 2654 | ||