If you build buildtools-tarball with opkg as the package manager, it passes in an empty target packages list and fails.
This allows the code to cope with an empty package list (in sync with the rpm backend). Signed-off-by: Richard Purdie <[email protected]> diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index c51e88b..630b957 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -1512,7 +1512,7 @@ class OpkgPM(PackageManager): self.deploy_dir_unlock() def install(self, pkgs, attempt_only=False): - if attempt_only and len(pkgs) == 0: + if not pkgs: return cmd = "%s %s install %s" % (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
