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]

(From OE-Core rev: 93c7fa3b369c8eb61b65cdd82111c8016d707fb6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2020-01-31 16:30:25 +01:00
committed by Richard Purdie
parent b08607a2a9
commit 6c09c9259f

View 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
}