[oe-commits] [meta-openembedded] 28/34: ipvsadm: install initscript to /etc/init.d

git at git.openembedded.org git at git.openembedded.org
Thu Oct 17 13:01:08 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 27d03530ba8b5254566e0d41db9ce9940701e459
Author: Yi Zhao <yi.zhao at windriver.com>
AuthorDate: Thu Oct 17 11:24:05 2019 +0800

    ipvsadm: install initscript to /etc/init.d
    
    Move initscript from /etc/rc.d/init.d to /etc/init.d
    
    Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb
index 22cb88a..b375ca9 100644
--- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb
+++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb
@@ -34,7 +34,9 @@ do_compile() {
 }
 
 do_install() {
-    sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)/$base_sbindir;" ${S}/Makefile
+    sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)$base_sbindir;" \
+        -e "s;INIT\t\t= \$(BUILD_ROOT)/etc/rc.d/init.d;INIT\t\t= \$(BUILD_ROOT)${sysconfdir}/init.d;" \
+        ${S}/Makefile
     oe_runmake 'BUILD_ROOT=${D}' install
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list