aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-05-15 23:33:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-22 13:09:03 +0100
commit32c2a2ddb1614f978f511dfccb6cc3e9398df841 (patch)
tree4587e8a10260ef6dbe701600b56b8728c593793c /scripts
parent80455a0b6cce6d12a5b32194d0cad2e4c7f71599 (diff)
downloadopenembedded-core-32c2a2ddb1614f978f511dfccb6cc3e9398df841.tar.gz
openembedded-core-32c2a2ddb1614f978f511dfccb6cc3e9398df841.tar.bz2
openembedded-core-32c2a2ddb1614f978f511dfccb6cc3e9398df841.zip
oe-pkgdata-util: lookup-recipe, package-info: Don't finish prematurely
If a package name exists in runtime-rprovides, lookup-recipe and package-info would finish after printing information about that package even if more packages were specified. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-pkgdata-util4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util
index aea8a57516..5dd9588224 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -277,7 +277,7 @@ def lookup_recipe(args):
print("%s is in the RPROVIDES of %s:" % (pkg, f))
pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f)
parse_pkgdatafile(pkgdatafile)
- break
+ continue
pkgdatafile = os.path.join(args.pkgdata_dir, 'runtime-reverse', pkg)
if not os.path.exists(pkgdatafile):
logger.error("The following packages could not be found: %s" % pkg)
@@ -341,7 +341,7 @@ def package_info(args):
print("%s is in the RPROVIDES of %s:" % (pkg, f))
pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f)
parse_pkgdatafile(pkgdatafile)
- break
+ continue
pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
if not os.path.exists(pkgdatafile):
logger.error("Unable to find any built runtime package named %s" % pkg)