mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 17:59:26 +00:00
keepalived: Move the sample configuration files to a separate package
By default keepalived installs a bunch of sample configurations to /etc/keepalived/samples. These are good demonstrations but will almost certainly not apply to any real world situation. Move the sample files to a separate package. Signed-off-by: Jordan Crouse <jorcrous@amazon.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -41,7 +41,11 @@ do_install:append() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PACKAGE_BEFORE_PN = "${PN}-samples"
|
||||||
|
|
||||||
FILES:${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt"
|
FILES:${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt"
|
||||||
|
|
||||||
|
FILES:${PN}-samples = "${sysconfdir}/keepalived/samples ${sysconfdir}/keepalived/keepalived.conf.sample"
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "keepalived.service"
|
SYSTEMD_SERVICE:${PN} = "keepalived.service"
|
||||||
SYSTEMD_AUTO_ENABLE ?= "disable"
|
SYSTEMD_AUTO_ENABLE ?= "disable"
|
||||||
|
|||||||
Reference in New Issue
Block a user