diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-05-15 23:33:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-16 10:00:08 +0100 |
commit | 12c4bdbfab971357d1fa06096faff0ad92d63006 (patch) | |
tree | 20baaae164f91a9816c37f8c7a04fb9ecf4bd6b3 /scripts | |
parent | 6069ffb48d91819f4e3ef12af52cc78ed3ea267c (diff) | |
download | poky-12c4bdbfab971357d1fa06096faff0ad92d63006.tar.gz |
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.
(From OE-Core rev: 32c2a2ddb1614f978f511dfccb6cc3e9398df841)
(From OE-Core rev: 8ec64f613266987417ca4941b55b988b50af7aff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-pkgdata-util | 4 |
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): | |||
277 | print("%s is in the RPROVIDES of %s:" % (pkg, f)) | 277 | print("%s is in the RPROVIDES of %s:" % (pkg, f)) |
278 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f) | 278 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f) |
279 | parse_pkgdatafile(pkgdatafile) | 279 | parse_pkgdatafile(pkgdatafile) |
280 | break | 280 | continue |
281 | pkgdatafile = os.path.join(args.pkgdata_dir, 'runtime-reverse', pkg) | 281 | pkgdatafile = os.path.join(args.pkgdata_dir, 'runtime-reverse', pkg) |
282 | if not os.path.exists(pkgdatafile): | 282 | if not os.path.exists(pkgdatafile): |
283 | logger.error("The following packages could not be found: %s" % pkg) | 283 | logger.error("The following packages could not be found: %s" % pkg) |
@@ -341,7 +341,7 @@ def package_info(args): | |||
341 | print("%s is in the RPROVIDES of %s:" % (pkg, f)) | 341 | print("%s is in the RPROVIDES of %s:" % (pkg, f)) |
342 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f) | 342 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f) |
343 | parse_pkgdatafile(pkgdatafile) | 343 | parse_pkgdatafile(pkgdatafile) |
344 | break | 344 | continue |
345 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg) | 345 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg) |
346 | if not os.path.exists(pkgdatafile): | 346 | if not os.path.exists(pkgdatafile): |
347 | logger.error("Unable to find any built runtime package named %s" % pkg) | 347 | logger.error("Unable to find any built runtime package named %s" % pkg) |