[meta-ti] [rocko/master][PATCH 1/3] recipes: fix host contamination warnings

Denys Dmytriyenko denys at ti.com
Fri Apr 20 12:29:30 PDT 2018


Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 recipes-bsp/cppi-lld/cppi-lld_git.bb        | 3 ++-
 recipes-bsp/pa-lld/pa-lld_git.bb            | 3 ++-
 recipes-bsp/pktlib/pktlib_git.bb            | 1 +
 recipes-bsp/qmss-lld/qmss-lld_git.bb        | 2 +-
 recipes-bsp/rm-lld/rm-lld_git.bb            | 1 +
 recipes-ti/ipc/ipc-transport-qmss_git.bb    | 1 +
 recipes-ti/multiprocmgr/multiprocmgr_git.bb | 1 +
 7 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/cppi-lld/cppi-lld_git.bb b/recipes-bsp/cppi-lld/cppi-lld_git.bb
index edbc35d..6ac72cf 100644
--- a/recipes-bsp/cppi-lld/cppi-lld_git.bb
+++ b/recipes-bsp/cppi-lld/cppi-lld_git.bb
@@ -16,7 +16,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb
index f6de5b1..f636ce4 100644
--- a/recipes-bsp/pa-lld/pa-lld_git.bb
+++ b/recipes-bsp/pa-lld/pa-lld_git.bb
@@ -15,7 +15,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link
     ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
index dd66bd9..b15b61b 100644
--- a/recipes-bsp/pktlib/pktlib_git.bb
+++ b/recipes-bsp/pktlib/pktlib_git.bb
@@ -15,4 +15,5 @@ do_compile () {
 
 do_install () {
 	oe_runmake install
+	chown -R root:root ${D}
 }
diff --git a/recipes-bsp/qmss-lld/qmss-lld_git.bb b/recipes-bsp/qmss-lld/qmss-lld_git.bb
index 813929e..a3c1a3b 100644
--- a/recipes-bsp/qmss-lld/qmss-lld_git.bb
+++ b/recipes-bsp/qmss-lld/qmss-lld_git.bb
@@ -13,11 +13,11 @@ do_compile () {
 	do
 		make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}  DEVICE="${device}"
 	done
-
 }
 
 do_install () {
     make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
     # Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld_git.bb
index 659e620..ae79a34 100644
--- a/recipes-bsp/rm-lld/rm-lld_git.bb
+++ b/recipes-bsp/rm-lld/rm-lld_git.bb
@@ -27,4 +27,5 @@ do_install () {
     install -d ${D}${libdir}
     install -d ${D}${bindir}
     make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
+    chown -R root:root ${D}
 }
diff --git a/recipes-ti/ipc/ipc-transport-qmss_git.bb b/recipes-ti/ipc/ipc-transport-qmss_git.bb
index 09acbf0..4c9aade 100644
--- a/recipes-ti/ipc/ipc-transport-qmss_git.bb
+++ b/recipes-ti/ipc/ipc-transport-qmss_git.bb
@@ -13,4 +13,5 @@ do_compile () {
 do_install () {
 	oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
 		INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
index 1ec2241..b37c332 100644
--- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb
+++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
@@ -42,4 +42,5 @@ do_install() {
 
 	install -d ${D}${libdir}/
 	cp -a ${S}/lib/* ${D}${libdir}/
+	chown -R root:root ${D}${libdir}/
 }
-- 
2.7.4



More information about the meta-ti mailing list