[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8187/8267] e2fsprogs-ptest: improve reproducibility



commit 10d0ace274a0d8ee32c0d4411cdc38c4e18409da
Author: Juro Bystricky <juro bystricky intel com>
Date:   Wed Oct 25 16:00:26 2017 -0700

    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: 8ffafc2bc1c4f4d13295d56013029e10bb536d25)
    
    Signed-off-by: Juro Bystricky <juro bystricky intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Armin Kuster <akuster mvista com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 .../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 7fba8eb..00093cc 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() {
        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 {} +
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]