Skip to contentSkip to conversation

busybox: sort the .config file used by ptests

PATCH New Alexander Kanavin 1 participant 1 message Jan 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: sort the .config file used by ptests

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

[YOCTO #13756]

---
 meta/recipes-core/busybox/busybox.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/busybox/busybox.inc +1 -1
index 391e4fd1639..1a82f23b0f3 100644
@@ -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
 }
 
Signature · 1 line
2.25.0