Skip to contentSkip to conversation

Resolve host contamination warnings

PATCH New Justin Sobota 1 participant 1 message Apr 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Resolve host contamination warnings

---
 classes/ti-pdk.bbclass                                      | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb                 | 5 +++--
 recipes-ti/bios/ti-sysbios.inc                              | 3 ++-
 recipes-ti/devtools/ti-cg-xml_2.41.00.bb                    | 3 ++-
 recipes-ti/dsplib/dsplib-c66x.inc                           | 3 ++-
 recipes-ti/framework-components/ti-framework-components.inc | 3 ++-
 recipes-ti/imglib/imglib-c66x.inc                           | 3 ++-
 recipes-ti/mathlib/mathlib-c66x.inc                         | 3 ++-
 recipes-ti/xdais/ti-xdais.inc                               | 3 ++-
 9 files changed, 18 insertions(+), 10 deletions(-)
classes/ti-pdk.bbclass +1 -1
index eca3652..981ec12 100644
@@ -89,7 +89,7 @@ do_compile() {
 
 do_install () {
     install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
-    find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
     
     if [ "${PDK_COMP_LINK_TEXT}" != "" ]
     then
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +3 -2
index ce9ef85..7fd778a 100644
@@ -2,7 +2,7 @@ require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc
 require recipes-ti/includes/ti-staging.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
@@ -106,8 +106,9 @@ do_compile () {
 }
 
 do_install () {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
 }
 
 INSANE_SKIP_${PN}-dev = "arch ldflags"
recipes-ti/bios/ti-sysbios.inc +2 -1
index 408be78..53b55a5 100644
@@ -15,8 +15,9 @@ BINFILE="bios_setuplinux_${PV}.bin"
 TI_BIN_UNPK_CMDS="Y: q:workdir:Y"
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${SYSBIOS_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE}
 }
 
 ALLOW_EMPTY_${PN} = "1"
recipes-ti/devtools/ti-cg-xml_2.41.00.bb +2 -1
index 115254e..a0387b7 100644
@@ -25,8 +25,9 @@ TI_BIN_UNPK_CMDS=""
 TI_BIN_UNPK_ARGS="--prefix ${S} --mode silent"
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${CG_XML_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE}
 }
 
 FILES_${PN} += "${CG_XML_INSTALL_DIR_RECIPE}"
recipes-ti/dsplib/dsplib-c66x.inc +2 -1
index 31acc1e..ce978db 100644
@@ -16,8 +16,9 @@ TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}"
 TI_BIN_UNPK_CMDS = ""
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${DSPLIB_C66_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${DSPLIB_C66_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${DSPLIB_C66_INSTALL_DIR_RECIPE}
 }
 
 ALLOW_EMPTY_${PN} = "1"
recipes-ti/framework-components/ti-framework-components.inc +2 -1
index e111ec4..d3a1d75 100644
@@ -11,8 +11,9 @@ S = "${WORKDIR}/framework_components_${PV}"
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc/${PV}/exports/framework_components_${PV},lite.tar.gz;name=fctarball"
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${FC_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${FC_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${FC_INSTALL_DIR_RECIPE}
 }
 
 INSANE_SKIP_${PN} = "ldflags"
recipes-ti/imglib/imglib-c66x.inc +2 -1
index 3c76ad5..eb57598 100644
@@ -18,8 +18,9 @@ TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}"
 TI_BIN_UNPK_CMDS = ""
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${IMGLIB_C66_INSTALL_DIR_RECIPE}
 }
 
 ALLOW_EMPTY_${PN} = "1"
recipes-ti/mathlib/mathlib-c66x.inc +2 -1
index 1511337..7951e6c 100644
@@ -18,8 +18,9 @@ TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}"
 TI_BIN_UNPK_CMDS = ""
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${MATHLIB_C66_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${MATHLIB_C66_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${MATHLIB_C66_INSTALL_DIR_RECIPE}
 }
 
 ALLOW_EMPTY_${PN} = "1"
recipes-ti/xdais/ti-xdais.inc +2 -1
index a12ad64..24268b3 100644
@@ -11,8 +11,9 @@ S = "${WORKDIR}/xdais_${PV}"
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball"
 
 do_install() {
+    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
     install -d ${D}${XDAIS_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${D}${XDAIS_INSTALL_DIR_RECIPE}
+    cp ${CP_ARGS} ${S}/* ${D}${XDAIS_INSTALL_DIR_RECIPE}
 }
 
 INHIBIT_PACKAGE_STRIP = "1"
Signature · 1 line
2.7.4