[OE-core] [PATCH 3/3] boost: Fix host-user-contaminated QA errors

Khem Raj raj.khem at gmail.com
Sun Mar 1 01:43:01 UTC 2020


bjam calls cp directly, which can install with same user name as bitbake
in staging, which is caught by packager and reported, therefore override
cp command to use right options to make cp behave like install utility

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-support/boost/boost.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index e15dce4e1d..7f44638135 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -189,6 +189,7 @@ do_compile() {
 }
 
 do_install() {
+        export CP="cp -R --no-dereference --preserve=mode,links"
 	bjam ${BJAM_OPTS} \
 		--libdir=${D}${libdir} \
 		--includedir=${D}${includedir} \
-- 
2.25.1



More information about the Openembedded-core mailing list