Skip to contentSkip to conversation

tcpslice: fix do_install

PATCH New Martin Jansa 1 participant 1 message Dec 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcpslice: fix do_install

From: Roy Li <[email protected]>

replace to run "make install" with directly calling install command, since "make install" asks "bin" user and group, and maybe fail when system has not;

---
 meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb +2 -1
index 203d143..0baa109 100644
@@ -29,7 +29,8 @@ do_configure () {
             ac_cv_target=${HOST_SYS}
 }
 
-do_install_prepend () {
+do_install () {
 	mkdir -p ${D}/usr/sbin
+	install -c -m 555 tcpslice ${D}/usr/sbin
 }
 
Signature · 1 line
2.6.4