diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2017-05-30 10:08:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-06 19:02:43 +0100 |
commit | ff4a7a9a1d7898a214736933216dedc7055e3700 (patch) | |
tree | 28629f6a7aa0290c705f43aa9cdd42c4872ab048 /meta/recipes-devtools | |
parent | 8b66ad49a00c7bfabb0db824f727d741833f97ec (diff) | |
download | poky-ff4a7a9a1d7898a214736933216dedc7055e3700.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb index 5216c7027c..7c8809a41e 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | |||
@@ -106,7 +106,7 @@ do_compile_ptest() { | |||
106 | } | 106 | } |
107 | 107 | ||
108 | do_install_ptest() { | 108 | do_install_ptest() { |
109 | cp -a ${B}/tests ${D}${PTEST_PATH}/test | 109 | cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test |
110 | cp -a ${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 | } | 112 | } |