[oe-commits] Roy Li : tcpslice: fix do_install

git at git.openembedded.org git at git.openembedded.org
Mon Aug 17 21:44:57 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: eee640df1a0dc28ec68c842fdaecc41ec69c087f
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=eee640df1a0dc28ec68c842fdaecc41ec69c087f

Author: Roy Li <rongqing.li at windriver.com>
Date:   Tue Jul 28 09:59:38 2015 +0800

tcpslice: fix do_install

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;

Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>

---

 meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb b/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb
index b887fc7..293760f 100644
--- a/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb
+++ b/meta-networking/recipes-support/tcpdump/tcpslice_1.2a3.bb
@@ -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
 }
 



More information about the Openembedded-commits mailing list