]> code.ossystems Code Review - openembedded-core.git/commitdiff
cml1.bbclass: Return sorted list of cfg files
authorKhem Raj <raj.khem@gmail.com>
Mon, 3 May 2021 06:36:00 +0000 (23:36 -0700)
committerSteve Sakoman <steve@sakoman.com>
Fri, 7 May 2021 15:21:23 +0000 (05:21 -1000)
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/cml1.bbclass

index 8ab240589a23d9a282ee6a176b0dffe8209e5ea3..e91452081c82e18dd266bdae5c2874a653374283 100644 (file)
@@ -6,7 +6,7 @@ def find_cfgs(d):
         if s.endswith('.cfg'):
             sources_list.append(s)
 
-    return sources_list
+    return sorted(sources_list)
 
 cml1_do_configure() {
        set -e