e2fsprogs: fix test f_detect_junk print error msg

This test need to check config.h, so install it
to fix below err msg:

grep: ../lib/config.h: No such file or directory
./test/f_detect_junk/script: line 3: [: : integer expression expected
f_detect_junk: detect non-fs file data: ok

(From OE-Core rev: 53f2ad2ec54fd69d91c2445c4ae20585b836e2ea)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Changqing Li
2018-10-12 10:21:12 +08:00
committed by Richard Purdie
parent 50f41202cc
commit ba33809b8c

View File

@@ -129,4 +129,7 @@ do_install_ptest() {
find "${D}${PTEST_PATH}" -type f \
\( -name 'Makefile' -o -name 'Makefile.in' -o -name '*.o' -o -name '*.c' -o -name '*.h' \)\
-exec rm -f {} +
install -d ${D}${PTEST_PATH}/lib
install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/
}