[OE-core] [PATCH] busybox: sort the .config file used by ptests

Alexander Kanavin alex.kanavin at gmail.com
Fri Jan 31 15:30:25 UTC 2020


It was found to have slight variations in order of options
depending on the host. Sorting it helps reproducibility.

[YOCTO #13756]

Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
 meta/recipes-core/busybox/busybox.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 391e4fd1639..1a82f23b0f3 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -356,7 +356,7 @@ do_install_ptest () {
 	cp -r ${B}/testsuite ${D}${PTEST_PATH}/
         # These access the internet which is not guaranteed to work on machines running the tests
         rm -rf ${D}${PTEST_PATH}/testsuite/wget
-	cp ${B}/.config      ${D}${PTEST_PATH}/
+	sort ${B}/.config > ${D}${PTEST_PATH}/.config
 	ln -s /bin/busybox   ${D}${PTEST_PATH}/busybox
 }
 
-- 
2.25.0



More information about the Openembedded-core mailing list