From: Roy Li <rongqing...@windriver.com>

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...@windriver.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
 }
 
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to