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>
This commit is contained in:
parent
80e39195c7
commit
70d459ceba
|
@ -365,7 +365,7 @@ def list_pkg_files(args):
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
pkglist = args.pkg
|
pkglist = args.pkg
|
||||||
|
|
||||||
for pkg in pkglist:
|
for pkg in sorted(pkglist):
|
||||||
print("%s:" % pkg)
|
print("%s:" % pkg)
|
||||||
if args.runtime:
|
if args.runtime:
|
||||||
pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
|
pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
|
||||||
|
|
Loading…
Reference in New Issue