[meta-ti] [PATCH krogoth/morty/master] ti-ipc-rtos: Update to remove host-user-contaminated warnings

Sam Nelson sam.nelson at ti.com
Mon Mar 13 14:13:02 PDT 2017


Update to copy NOT to preserve ownership (but to preserve mode and
timestamps)

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-ti/ipc/ti-ipc-rtos.inc    | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index 7f029a7..b29e984 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -37,7 +37,7 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
 RELEASE_TYPE = "GA"
 RELEASE_SUFFIX = ""
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 DEPENDS_append_keystone = " ti-cgt6x-native \
                             gcc-arm-none-eabi-native \
diff --git a/recipes-ti/ipc/ti-ipc-rtos_git.bb b/recipes-ti/ipc/ti-ipc-rtos_git.bb
index f0ccb10..018634c 100644
--- a/recipes-ti/ipc/ti-ipc-rtos_git.bb
+++ b/recipes-ti/ipc/ti-ipc-rtos_git.bb
@@ -62,13 +62,14 @@ do_compile() {
 }
 
 do_install() {
+  CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
   IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
   # Copy docs and other meta files
   install -d ${D}${IPC_INSTALL_DIR_RECIPE}
-  cp -pPrf  ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE}
+  cp ${CP_ARGS} ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE}
 
   install -d ${D}${base_libdir}/firmware/ipc
-  cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true
+  cp ${CP_ARGS} ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true
 }
 
 ALTERNATIVE_PRIORITY = "5"
-- 
1.9.1



More information about the meta-ti mailing list