]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: sort the .config file used by ptests
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 31 Jan 2020 15:30:25 +0000 (16:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2020 16:56:26 +0000 (16:56 +0000)
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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc

index 391e4fd163955046807ef118569b9af117fb3949..1a82f23b0f3a572f39b04335a58198991654f95a 100644 (file)
@@ -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
 }