diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2018-10-15 16:30:17 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-15 13:37:23 -0700 |
commit | 336242ef27272e2304c2f9e90bee4423d7007b25 (patch) | |
tree | 12a2ff22db0499cc6fa4274bc8f744ecb45cc958 /meta-networking/recipes-daemons | |
parent | e6978e60b6fda4c83eeb400528f16408e80082d7 (diff) | |
download | meta-openembedded-336242ef27272e2304c2f9e90bee4423d7007b25.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r-- | meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb | 5 |
1 files changed, 1 insertions, 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 36417b72a..31c50ff6b 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 | |||
16 | 16 | ||
17 | DEPENDS = "libnfnetlink openssl" | 17 | DEPENDS = "libnfnetlink openssl" |
18 | 18 | ||
19 | inherit autotools pkgconfig systemd update-rc.d | 19 | inherit autotools pkgconfig systemd |
20 | 20 | ||
21 | PACKAGECONFIG ??= "libnl snmp \ | 21 | PACKAGECONFIG ??= "libnl snmp \ |
22 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 22 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
@@ -41,8 +41,5 @@ do_install_append() { | |||
41 | 41 | ||
42 | FILES_${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" | 42 | FILES_${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" |
43 | 43 | ||
44 | INITSCRIPT_NAME = "keepalived" | ||
45 | INITSCRIPT_PARAMS = "remove" | ||
46 | |||
47 | SYSTEMD_SERVICE_${PN} = "keepalived.service" | 44 | SYSTEMD_SERVICE_${PN} = "keepalived.service" |
48 | SYSTEMD_AUTO_ENABLE ?= "disable" | 45 | SYSTEMD_AUTO_ENABLE ?= "disable" |