diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-10-25 16:00:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 22:24:04 +0000 |
commit | 997764c34a2232f45f0db52346ea7dc710b8d045 (patch) | |
tree | 463e801c4f60ef5b307c6c8e68112d60462c26bc /meta/recipes-devtools/e2fsprogs | |
parent | 90ba1869ed8bc28199abfb1eabb29712674d01a9 (diff) | |
download | poky-997764c34a2232f45f0db52346ea7dc710b8d045.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb index 7fba8eb0c4..00093cc20c 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb | |||
@@ -109,4 +109,9 @@ do_install_ptest() { | |||
109 | cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test | 109 | cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test |
110 | cp -R --no-dereference --preserve=mode,links -v ${S}/tests/* ${D}${PTEST_PATH}/test | 110 | cp -R --no-dereference --preserve=mode,links -v ${S}/tests/* ${D}${PTEST_PATH}/test |
111 | sed -e 's!../e2fsck/e2fsck!e2fsck!g' -i ${D}${PTEST_PATH}/test/*/expect* | 111 | sed -e 's!../e2fsck/e2fsck!e2fsck!g' -i ${D}${PTEST_PATH}/test/*/expect* |
112 | |||
113 | # Remove various files | ||
114 | find "${D}${PTEST_PATH}" -type f \ | ||
115 | \( -name 'Makefile' -o -name 'Makefile.in' -o -name '*.o' -o -name '*.c' -o -name '*.h' \)\ | ||
116 | -exec rm -f {} + | ||
112 | } | 117 | } |