]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 May 2021 14:23:44 +0000 (15:23 +0100)
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>
meta/classes/cml1.bbclass

index d319d66ab2229717467d8ce3029218a7334639fe..1c3d70b48d85ee265de86190bb63a8819728e4ff 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