Skip to contentSkip to conversation

ti-ipc-rtos: Update to remove host-user-contaminated warnings

PATCH New Sam Nelson 1 participant 1 message Mar 13, 2017

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 ti-ipc-rtos: Update to remove host-user-contaminated warnings

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

---
 recipes-ti/ipc/ti-ipc-rtos.inc    | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
recipes-ti/ipc/ti-ipc-rtos.inc +1 -1
index 7f029a7..b29e984 100644
@@ -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 \
recipes-ti/ipc/ti-ipc-rtos_git.bb +3 -2
index f0ccb10..018634c 100644
@@ -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"
Signature · 1 line
1.9.1