Skip to contentSkip to conversation

ipsec-demo: Fix host contamination and build warning

PATCH New Zhenhua Luo 1 participant 2 messages Apr 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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 | 1 +
 1 file changed, 1 insertion(+)
recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb +1 -0
index be5b9f9..f29c375 100644
@@ -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}/*"
Signature · 1 line
2.4.11
#1 lore raw

PATCH 2/2 testfloat: get rid of 'No GNU_HASH in the elf binary' warning

From: Sujith H <[email protected]>

Remove the warning caused by external toolchain like sourcery. When used with sourcery toolchain warning was thrown during the build.

---
 recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch +1 -1
index 42de56d..f2ff1c0 100644
@@ -58,7 +58,7 @@ index de50aad..1a8b5f7 100644
 +COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O
  
 -LINK = $(COMPILE_PREFIX)gcc -lm -o $@
-+LINK = $(CC) -lm -o $@
++LINK = $(CC) -lm -o $@ ${LDFLAGS}
  
  SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h
  SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ)
Signature · 1 line
2.4.11