diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2019-10-17 11:24:05 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-10-17 08:33:53 -0700 |
| commit | fe884038aacb9ce29da547b2899535741a7c6e69 (patch) | |
| tree | b0a132dbe5de14a4115cbe95bf9d88b9ab1358b2 /meta-networking | |
| parent | e99bcd36e0275a093f3b12807b154105eb0a27ca (diff) | |
| download | meta-openembedded-fe884038aacb9ce29da547b2899535741a7c6e69.tar.gz | |
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@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.30.bb index 22cb88ac12..b375ca94e5 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() { | |||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | do_install() { | 36 | do_install() { |
| 37 | sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)/$base_sbindir;" ${S}/Makefile | 37 | sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)$base_sbindir;" \ |
| 38 | -e "s;INIT\t\t= \$(BUILD_ROOT)/etc/rc.d/init.d;INIT\t\t= \$(BUILD_ROOT)${sysconfdir}/init.d;" \ | ||
| 39 | ${S}/Makefile | ||
| 38 | oe_runmake 'BUILD_ROOT=${D}' install | 40 | oe_runmake 'BUILD_ROOT=${D}' install |
| 39 | } | 41 | } |
| 40 | 42 | ||
