From: Khem Raj Date: Mon, 3 May 2021 06:36:00 +0000 (-0700) Subject: cml1.bbclass: Return sorted list of cfg files X-Git-Tag: uninative-3.2~245 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d;p=openembedded-core.git cml1.bbclass: Return sorted list of cfg files 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass index d319d66ab2..1c3d70b48d 100644 --- a/meta/classes/cml1.bbclass +++ b/meta/classes/cml1.bbclass @@ -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