[meta-freescale] [meta-fsl-ppc][PATCH] ipsec-demo: Fix host contamination and build warning

Sujith Haridasan sujith.h at gmail.com
Fri Apr 22 02:26:19 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>
---
 recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
index 2fa7695..7be7e30 100644
--- a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
+++ b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
@@ -19,7 +19,11 @@ do_compile() {
 do_install(){
     install -d  ${D}${datadir}
     cp -a ${WORKDIR}/test_setkey ${D}${datadir}/
+    chown -R root:root ${D}${datadir}/test_setkey
 }
 
 FILES_${PN} = "${datadir}/*"
+
+RDEPENDS_${PN} += "bash"
+
 COMPATIBLE_MACHINE = "(qoriq)"
-- 
1.9.1



More information about the meta-freescale mailing list