From ff4a7a9a1d7898a214736933216dedc7055e3700 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 30 May 2017 10:08:36 +0200 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/coreutils/coreutils_8.27.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/coreutils') 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() { install -t ${D}/${mandir}/man1 ${S}/man/*.1 # prebuilt man pages don't do a separate man page for [ vs test. # see comment above r.e. sed and update-alternatives - cp -a ${D}${mandir}/man1/test.1 ${D}${mandir}/man1/lbracket.1.${BPN} + cp -R --no-dereference --preserve=mode,links -v ${D}${mandir}/man1/test.1 ${D}${mandir}/man1/lbracket.1.${BPN} } inherit update-alternatives -- cgit v1.2.3-54-g00ecf