summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-pkgdata-util13
1 files changed, 9 insertions, 4 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util
index e6c9df94e8..53739b0bfc 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -279,10 +279,14 @@ def lookup_recipe(args):
279 parse_pkgdatafile(pkgdatafile) 279 parse_pkgdatafile(pkgdatafile)
280 continue 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 os.path.exists(pkgdatafile):
283 logger.error("The following packages could not be found: %s" % pkg) 283 parse_pkgdatafile(pkgdatafile)
284 sys.exit(1) 284 else:
285 parse_pkgdatafile(pkgdatafile) 285 if args.carryon:
286 print("The following packages could not be found: %s" % pkg)
287 else:
288 logger.error("The following packages could not be found: %s" % pkg)
289 sys.exit(1)
286 290
287def package_info(args): 291def package_info(args):
288 def parse_pkgdatafile(pkgdatafile): 292 def parse_pkgdatafile(pkgdatafile):
@@ -558,6 +562,7 @@ def main():
558 help='Find recipe producing one or more packages', 562 help='Find recipe producing one or more packages',
559 description='Looks up the specified runtime package(s) to see which recipe they were produced by') 563 description='Looks up the specified runtime package(s) to see which recipe they were produced by')
560 parser_lookup_recipe.add_argument('pkg', nargs='+', help='Runtime package name to look up') 564 parser_lookup_recipe.add_argument('pkg', nargs='+', help='Runtime package name to look up')
565 parser_lookup_recipe.add_argument('-c', '--continue', dest="carryon", help='Continue looking up recipes even if we can not find one', action='store_true')
561 parser_lookup_recipe.set_defaults(func=lookup_recipe) 566 parser_lookup_recipe.set_defaults(func=lookup_recipe)
562 567
563 parser_package_info = subparsers.add_parser('package-info', 568 parser_package_info = subparsers.add_parser('package-info',