From 10c4962da78d7bc53869854662d998d270df784c Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Sat, 21 Apr 2018 03:43:25 +0000 Subject: [PATCH] recipes: fix host contamination warnings Signed-off-by: Denys Dmytriyenko --- recipes-bsp/cppi-lld/cppi-lld_git.bb | 3 ++- recipes-bsp/dfe-lld/dfe-lld_git.bb | 1 + recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 1 + recipes-bsp/mmap-lld/mmap-lld_git.bb | 1 + 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-bsp/sa-lld/sa-lld_git.bb | 1 + recipes-bsp/traceframework/traceframework_git.bb | 1 + recipes-ti/ipc/ipc-transport-qmss_git.bb | 1 + recipes-ti/multiprocmgr/multiprocmgr_git.bb | 1 + 12 files changed, 14 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/cppi-lld/cppi-lld_git.bb b/recipes-bsp/cppi-lld/cppi-lld_git.bb index edbc35dd..6ac72cfa 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/dfe-lld/dfe-lld_git.bb b/recipes-bsp/dfe-lld/dfe-lld_git.bb index 3d335849..4456cc03 100644 --- a/recipes-bsp/dfe-lld/dfe-lld_git.bb +++ b/recipes-bsp/dfe-lld/dfe-lld_git.bb @@ -14,4 +14,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-bsp/iqn2-lld/iqn2-lld_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb index 40a8ea7c..169ab6e4 100644 --- a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb +++ b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb @@ -19,4 +19,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-bsp/mmap-lld/mmap-lld_git.bb b/recipes-bsp/mmap-lld/mmap-lld_git.bb index 1cfc90fb..cfc5d4c9 100644 --- a/recipes-bsp/mmap-lld/mmap-lld_git.bb +++ b/recipes-bsp/mmap-lld/mmap-lld_git.bb @@ -11,4 +11,5 @@ 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} + chown -R root:root ${D} } diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb index f6de5b15..f636ce4a 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 dd66bd93..b15b61b2 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 813929ec..a3c1a3ba 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 659e6205..ae79a34c 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-bsp/sa-lld/sa-lld_git.bb b/recipes-bsp/sa-lld/sa-lld_git.bb index 1cab6db9..d92ad1cf 100644 --- a/recipes-bsp/sa-lld/sa-lld_git.bb +++ b/recipes-bsp/sa-lld/sa-lld_git.bb @@ -13,6 +13,7 @@ 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} + chown -R root:root ${D} # Set the generic device library symbolic link ln -sf libsa.so.1.0.0 ${D}${libdir}/libsa_device.so.1 diff --git a/recipes-bsp/traceframework/traceframework_git.bb b/recipes-bsp/traceframework/traceframework_git.bb index a3b0d715..2b2020b8 100644 --- a/recipes-bsp/traceframework/traceframework_git.bb +++ b/recipes-bsp/traceframework/traceframework_git.bb @@ -29,6 +29,7 @@ do_install() { do oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D} done + chown -R root:root ${D} } PACKAGES =+ "${PN}-test" diff --git a/recipes-ti/ipc/ipc-transport-qmss_git.bb b/recipes-ti/ipc/ipc-transport-qmss_git.bb index 09acbf0b..4c9aaded 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 1ec2241a..b37c3321 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}/ }