summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2017-05-30 10:08:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-06 19:02:43 +0100
commitff4a7a9a1d7898a214736933216dedc7055e3700 (patch)
tree28629f6a7aa0290c705f43aa9cdd42c4872ab048 /meta/recipes-core
parent8b66ad49a00c7bfabb0db824f727d741833f97ec (diff)
downloadpoky-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-core')
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.27.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.27.bb b/meta/recipes-core/coreutils/coreutils_8.27.bb
index 667e0af560..ea8740a2d1 100644
--- a/meta/recipes-core/coreutils/coreutils_8.27.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.27.bb
@@ -99,7 +99,7 @@ do_install_append() {
99 install -t ${D}/${mandir}/man1 ${S}/man/*.1 99 install -t ${D}/${mandir}/man1 ${S}/man/*.1
100 # prebuilt man pages don't do a separate man page for [ vs test. 100 # prebuilt man pages don't do a separate man page for [ vs test.
101 # see comment above r.e. sed and update-alternatives 101 # see comment above r.e. sed and update-alternatives
102 cp -a ${D}${mandir}/man1/test.1 ${D}${mandir}/man1/lbracket.1.${BPN} 102 cp -R --no-dereference --preserve=mode,links -v ${D}${mandir}/man1/test.1 ${D}${mandir}/man1/lbracket.1.${BPN}
103} 103}
104 104
105inherit update-alternatives 105inherit update-alternatives