All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/morty][PATCH] Resolve host contamination warnings
@ 2017-04-27 22:10 Justin Sobota
  2017-04-28  0:22 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Sobota @ 2017-04-27 22:10 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Justin Sobota <jsobota@ti.com>
---
 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(-)

diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
index fd7c3e7..d4dbb5f 100644
--- a/classes/ti-pdk.bbclass
+++ b/classes/ti-pdk.bbclass
@@ -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
diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
index 6a01d0b..63dca8f 100644
--- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
+++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
@@ -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"
diff --git a/recipes-ti/bios/ti-sysbios.inc b/recipes-ti/bios/ti-sysbios.inc
index 408be78..53b55a5 100644
--- a/recipes-ti/bios/ti-sysbios.inc
+++ b/recipes-ti/bios/ti-sysbios.inc
@@ -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"
diff --git a/recipes-ti/devtools/ti-cg-xml_2.41.00.bb b/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
index 115254e..a0387b7 100644
--- a/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
+++ b/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
@@ -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}"
diff --git a/recipes-ti/dsplib/dsplib-c66x.inc b/recipes-ti/dsplib/dsplib-c66x.inc
index 31acc1e..ce978db 100644
--- a/recipes-ti/dsplib/dsplib-c66x.inc
+++ b/recipes-ti/dsplib/dsplib-c66x.inc
@@ -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"
diff --git a/recipes-ti/framework-components/ti-framework-components.inc b/recipes-ti/framework-components/ti-framework-components.inc
index e111ec4..d3a1d75 100644
--- a/recipes-ti/framework-components/ti-framework-components.inc
+++ b/recipes-ti/framework-components/ti-framework-components.inc
@@ -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"
diff --git a/recipes-ti/imglib/imglib-c66x.inc b/recipes-ti/imglib/imglib-c66x.inc
index 3c76ad5..eb57598 100644
--- a/recipes-ti/imglib/imglib-c66x.inc
+++ b/recipes-ti/imglib/imglib-c66x.inc
@@ -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"
diff --git a/recipes-ti/mathlib/mathlib-c66x.inc b/recipes-ti/mathlib/mathlib-c66x.inc
index 1511337..7951e6c 100644
--- a/recipes-ti/mathlib/mathlib-c66x.inc
+++ b/recipes-ti/mathlib/mathlib-c66x.inc
@@ -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"
diff --git a/recipes-ti/xdais/ti-xdais.inc b/recipes-ti/xdais/ti-xdais.inc
index a12ad64..24268b3 100644
--- a/recipes-ti/xdais/ti-xdais.inc
+++ b/recipes-ti/xdais/ti-xdais.inc
@@ -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



^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [master/morty][PATCH] Resolve host contamination warnings
@ 2017-04-28 19:22 Justin Sobota
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Sobota @ 2017-04-28 19:22 UTC (permalink / raw)
  To: meta-ti

Signed-off-by: Justin Sobota <jsobota@ti.com>
---
 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(-)

diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
index eca3652..981ec12 100644
--- a/classes/ti-pdk.bbclass
+++ b/classes/ti-pdk.bbclass
@@ -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
diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
index ce9ef85..7fd778a 100644
--- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
+++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
@@ -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"
diff --git a/recipes-ti/bios/ti-sysbios.inc b/recipes-ti/bios/ti-sysbios.inc
index 408be78..53b55a5 100644
--- a/recipes-ti/bios/ti-sysbios.inc
+++ b/recipes-ti/bios/ti-sysbios.inc
@@ -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"
diff --git a/recipes-ti/devtools/ti-cg-xml_2.41.00.bb b/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
index 115254e..a0387b7 100644
--- a/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
+++ b/recipes-ti/devtools/ti-cg-xml_2.41.00.bb
@@ -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}"
diff --git a/recipes-ti/dsplib/dsplib-c66x.inc b/recipes-ti/dsplib/dsplib-c66x.inc
index 31acc1e..ce978db 100644
--- a/recipes-ti/dsplib/dsplib-c66x.inc
+++ b/recipes-ti/dsplib/dsplib-c66x.inc
@@ -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"
diff --git a/recipes-ti/framework-components/ti-framework-components.inc b/recipes-ti/framework-components/ti-framework-components.inc
index e111ec4..d3a1d75 100644
--- a/recipes-ti/framework-components/ti-framework-components.inc
+++ b/recipes-ti/framework-components/ti-framework-components.inc
@@ -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"
diff --git a/recipes-ti/imglib/imglib-c66x.inc b/recipes-ti/imglib/imglib-c66x.inc
index 3c76ad5..eb57598 100644
--- a/recipes-ti/imglib/imglib-c66x.inc
+++ b/recipes-ti/imglib/imglib-c66x.inc
@@ -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"
diff --git a/recipes-ti/mathlib/mathlib-c66x.inc b/recipes-ti/mathlib/mathlib-c66x.inc
index 1511337..7951e6c 100644
--- a/recipes-ti/mathlib/mathlib-c66x.inc
+++ b/recipes-ti/mathlib/mathlib-c66x.inc
@@ -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"
diff --git a/recipes-ti/xdais/ti-xdais.inc b/recipes-ti/xdais/ti-xdais.inc
index a12ad64..24268b3 100644
--- a/recipes-ti/xdais/ti-xdais.inc
+++ b/recipes-ti/xdais/ti-xdais.inc
@@ -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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-28 19:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 22:10 [master/morty][PATCH] Resolve host contamination warnings Justin Sobota
2017-04-28  0:22 ` Denys Dmytriyenko
2017-04-28 14:37   ` Sobota, Justin
2017-04-28 18:08     ` Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2017-04-28 19:22 Justin Sobota

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.