]> code.ossystems Code Review - meta-freescale.git/commitdiff
ipsec-demo: Fix host contamination and build warning
authorZhenhua Luo <zhenhua.luo@nxp.com>
Fri, 3 Jun 2016 07:49:29 +0000 (15:49 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jun 2016 11:46:44 +0000 (08:46 -0300)
All files in the test_setkey directory are being copied with
ownership preserved (cp -a).

* Change ownership of all files in test_setkey directory to
  root:root

Signed-off-by: Noor <noor_ahsan@mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb

index be5b9f90b395dcaf62bdffe95d50a24929322d17..f29c375a366e38593dc9a34125abe4d880e3e4bd 100644 (file)
@@ -16,6 +16,7 @@ do_compile[noexec] = "1"
 do_install(){
     install -d  ${D}${datadir}
     cp -a ${WORKDIR}/test_setkey ${D}${datadir}/
+    chown -R root:root ${D}${datadir}/test_setkey
 }
 
 FILES_${PN} = "${datadir}/*"