diff options
author | Ross Burton <ross.burton@intel.com> | 2015-12-03 17:40:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-08 10:20:47 +0000 |
commit | 70d459ceba13f4bbde02c3db66f9d4a715bea897 (patch) | |
tree | 58ba91d1f6f85b605afc974129c7179edc8ca235 /scripts/oe-pkgdata-util | |
parent | 80e39195c79dd2940b2c23b370405a857b42b533 (diff) | |
download | poky-70d459ceba13f4bbde02c3db66f9d4a715bea897.tar.gz |
scripts/oe-pkgdata-util: sort the packages in list-pkg-files
Sort the list of packages in list-pkg-files to make the output easier to read.
(From OE-Core rev: 6c31655c5abf6ad4308848c116444cc7b1e798bb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-pkgdata-util')
-rwxr-xr-x | scripts/oe-pkgdata-util | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index cb19cc4ae5..afdceaae29 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util | |||
@@ -365,7 +365,7 @@ def list_pkg_files(args): | |||
365 | sys.exit(1) | 365 | sys.exit(1) |
366 | pkglist = args.pkg | 366 | pkglist = args.pkg |
367 | 367 | ||
368 | for pkg in pkglist: | 368 | for pkg in sorted(pkglist): |
369 | print("%s:" % pkg) | 369 | print("%s:" % pkg) |
370 | if args.runtime: | 370 | if args.runtime: |
371 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg) | 371 | pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg) |