[oe-commits] [meta-openembedded] 02/04: keepalived: remove update-rc.d settings

git at git.openembedded.org git at git.openembedded.org
Tue Oct 16 00:47:56 UTC 2018


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 336242ef27272e2304c2f9e90bee4423d7007b25
Author: Qi.Chen at windriver.com <Qi.Chen at windriver.com>
AuthorDate: Mon Oct 15 16:30:17 2018 +0800

    keepalived: remove update-rc.d settings
    
    The recipe wants to install a script under init.d but does not
    want to it be started by default. It did so by inheriting update-rc.d
    and setting INITSCRIPT_PARAMS to "remove". This is not correct.
    We could just not inherit 'update-rc.d' to achieve such effect.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb b/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb
index 36417b7..31c50ff 100644
--- a/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb
+++ b/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "4e2d7cc01a6ee29a3955f5c622d47704ba7d9dd758189f15e9def016a2
 
 DEPENDS = "libnfnetlink openssl"
 
-inherit autotools pkgconfig systemd update-rc.d
+inherit autotools pkgconfig systemd
 
 PACKAGECONFIG ??= "libnl snmp \
     ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
@@ -41,8 +41,5 @@ do_install_append() {
 
 FILES_${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt"
 
-INITSCRIPT_NAME = "keepalived"
-INITSCRIPT_PARAMS = "remove"
-
 SYSTEMD_SERVICE_${PN} = "keepalived.service"
 SYSTEMD_AUTO_ENABLE ?= "disable"

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


More information about the Openembedded-commits mailing list