]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/oe-pkgdata-util: sort the packages in list-pkg-files
authorRoss Burton <ross.burton@intel.com>
Thu, 3 Dec 2015 17:40:33 +0000 (17:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Dec 2015 10:20:06 +0000 (10:20 +0000)
Sort the list of packages in list-pkg-files to make the output easier to read.

Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-pkgdata-util

index cb19cc4ae58139344ea4a58d0a217183d2dc1874..afdceaae29b1fb036ca7a79969b8acef7a354c67 100755 (executable)
@@ -365,7 +365,7 @@ def list_pkg_files(args):
             sys.exit(1)
         pkglist = args.pkg
 
-    for pkg in pkglist:
+    for pkg in sorted(pkglist):
         print("%s:" % pkg)
         if args.runtime:
             pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)