mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e6978e60b6
commit
336242ef27
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user