Skip to contentSkip to conversation

ipsec-demo: Fix host contamination and build warning

PATCH New Sujith Haridasan 1 participant 1 message Apr 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipsec-demo: Fix host contamination and build warning

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.

---
 recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb +4 -0
index 2fa7695..7be7e30 100644
@@ -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)"
Signature · 1 line
1.9.1