mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
e2fsprogs-ptest: improve reproducibility
Remove several Makefiles containing build host references. While at it, also remove some additional files not needed for testing. (From OE-Core rev: 65a3b7b7b6aa91153ac3bd78411665316f1b2cba) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
90ba1869ed
commit
997764c34a
@@ -109,4 +109,9 @@ do_install_ptest() {
|
||||
cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test
|
||||
cp -R --no-dereference --preserve=mode,links -v ${S}/tests/* ${D}${PTEST_PATH}/test
|
||||
sed -e 's!../e2fsck/e2fsck!e2fsck!g' -i ${D}${PTEST_PATH}/test/*/expect*
|
||||
|
||||
# Remove various files
|
||||
find "${D}${PTEST_PATH}" -type f \
|
||||
\( -name 'Makefile' -o -name 'Makefile.in' -o -name '*.o' -o -name '*.c' -o -name '*.h' \)\
|
||||
-exec rm -f {} +
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user