Use latest image-configurations.rpm 71/140271/1
authorhyokeun <hyokeun.jeon@samsung.com>
Mon, 24 Jul 2017 09:03:23 +0000 (18:03 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Mon, 24 Jul 2017 09:03:26 +0000 (18:03 +0900)
In Unified builds, there could be exist out-dated image-configurations.rpm.
When creating ks file, use latest one(sort by name).

Change-Id: I1b102af2c7555296fa364a9440c066c24bf72287

common/repomaker.py

index 5f631ee..4d4fcc1 100644 (file)
@@ -183,7 +183,7 @@ class RepoMaker(object):
             archs = new_archs + \
                     list(set(archs).difference(set(ARCH_MAP.values())))
 
-        files = collect(in_dir, archs, name)
+        files = sorted(collect(in_dir, archs, name))
 
         # Create directory structure
         repo_dirs = create_dirs(repo_dir, archs)