[meta-freescale] [meta-freescale layer][PATCH 1/2] ipsec-demo: Fix host contamination and build warning

Zhenhua Luo zhenhua.luo at nxp.com
Tue Apr 26 00:52:36 PDT 2016


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

* Missing bash in RDEPEND warning was coming.

Signed-off-by: Noor <noor_ahsan at mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman at mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
 recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
index be5b9f9..f29c375 100644
--- a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
+++ b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
@@ -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}/*"
-- 
2.4.11



More information about the meta-freescale mailing list