mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"
* Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html (From OE-Core rev: 2fcb9bee2487ba8c5e7b2c1fda2fdffcf7fb7f78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8b66ad49a0
commit
ff4a7a9a1d
@@ -106,7 +106,7 @@ do_compile_ptest() {
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
cp -a ${B}/tests ${D}${PTEST_PATH}/test
|
||||
cp -a ${S}/tests/* ${D}${PTEST_PATH}/test
|
||||
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*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user