Skip to contentSkip to conversation

Resolve host contamination warnings

PATCH In review Justin Sobota 2 participants 4 messages Apr 27, 2017 – 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 fd7c3e7..d4dbb5f 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 6a01d0b..63dca8f 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-ccsv6-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
#1 lore raw

Does not apply - haven't checked what's wrong yet...

Quoted 163 lines · Justin Sobota
---
 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 fd7c3e7..d4dbb5f 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 6a01d0b..63dca8f 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-ccsv6-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 · 7 lines
2.7.4

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw

Hmm...I rebased with latest from morty, including Karthik's patches which touch two of the files in this patch, and the patch applied cleanly.

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, April 27, 2017 8:23 PM
To: Sobota, Justin
Cc: [email protected]
Subject: Re: [meta-ti] [master/morty][PATCH] Resolve host contamination warnings

Does not apply - haven't checked what's wrong yet...

Quoted 171 lines · Justin Sobota
---
 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 index renamed from classes/ti-pdk.bbclass +0 -0

fd7c3e7..d4dbb5f 100644

classes/ti-pdk.bbclass +2 -1
@@ -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 +0 -0
index 6a01d0b..63dca8f 100644
@@ -2,7 +2,7 @@ require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc  require 

recipes-ti/includes/ti-staging.inc

recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +3 -2
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-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"
(quoted diff) +0 -0

b/recipes-ti/bios/ti-sysbios.inc index 408be78..53b55a5 100644

recipes-ti/bios/ti-sysbios.inc +2 -1
@@ -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"
(quoted diff) +0 -0

a/recipes-ti/framework-components/ti-framework-components.inc b/recipes-ti/framework-components/ti-framework-components.inc index e111ec4..d3a1d75 100644

recipes-ti/framework-components/ti-framework-components.inc +2 -1
@@ -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"
(quoted diff) +0 -0

b/recipes-ti/xdais/ti-xdais.inc index a12ad64..24268b3 100644

recipes-ti/xdais/ti-xdais.inc +2 -2
@@ -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"
--

2.7.4

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw

Justin,

See below.

Quoted 50 lines · Justin

Hmm...I rebased with latest from morty, including Karthik's patches which touch two of the files in this patch, and the patch applied cleanly.

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, April 27, 2017 8:23 PM
To: Sobota, Justin
Cc: [email protected]
Subject: Re: [meta-ti] [master/morty][PATCH] Resolve host contamination warnings

Does not apply - haven't checked what's wrong yet...

Quoted 36 lines · Justin Sobota
---
 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 index renamed from classes/ti-pdk.bbclass +0 -0

fd7c3e7..d4dbb5f 100644

classes/ti-pdk.bbclass +2 -1
@@ -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 +0 -0
index 6a01d0b..63dca8f 100644
@@ -2,7 +2,7 @@ require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc  require 

recipes-ti/includes/ti-staging.inc

Quoted 4 lines

recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb require edma3-lld.inc · line 7

Quoted 4 lines
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"

ti-ccsv6-native got replaced with ti-cgt-arm-native ^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 131 lines
Quoted 131 lines
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +2 -1
@@ -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"
(quoted diff) +0 -0

b/recipes-ti/bios/ti-sysbios.inc index 408be78..53b55a5 100644

recipes-ti/bios/ti-sysbios.inc +2 -1
@@ -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"
(quoted diff) +0 -0

a/recipes-ti/framework-components/ti-framework-components.inc b/recipes-ti/framework-components/ti-framework-components.inc index e111ec4..d3a1d75 100644

recipes-ti/framework-components/ti-framework-components.inc +2 -1
@@ -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"
(quoted diff) +0 -0

b/recipes-ti/xdais/ti-xdais.inc index a12ad64..24268b3 100644

recipes-ti/xdais/ti-xdais.inc +2 -2
@@ -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"
--

2.7.4

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti