[OE-core] [PATCH] scripts/oe-pkgdata-util: sort the packages in list-pkg-files

Ross Burton ross.burton at intel.com
Thu Dec 3 17:41:14 UTC 2015


Sort the list of packages in list-pkg-files to make the output easier to read.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-pkgdata-util | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util
index cb19cc4..afdceaa 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -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)
-- 
2.1.4




More information about the Openembedded-core mailing list