dbus-test-ptest: improve reproducibility

Remove build host references from additional files.

(From OE-Core rev: 073d8d001033471d7fe44f52212c72a6c3541313)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Juro Bystricky
2018-03-10 10:58:45 -08:00
committed by Richard Purdie
parent a5644b6811
commit 04575dfdbc

View File

@@ -71,7 +71,7 @@ do_install_ptest() {
cp -a ${B}/dbus/.libs/*.so* ${D}${PTEST_PATH}/test/.libs
# Remove build host references...
find "${D}${PTEST_PATH}/test/data" \( -name *.service -o -name *.conf \) -type f -exec \
find "${D}${PTEST_PATH}/test/data" \( -name *.service -o -name *.conf -o -name "*.aaprofile" \) -type f -exec \
sed -i \
-e 's:${B}:${PTEST_PATH}:g' \
{} +