From 231c8bd2642ccbbcff799660a6bc8d455730494c Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Tue, 2 Jan 2024 17:32:56 +0000 Subject: 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 Signed-off-by: Khem Raj --- meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb index dd193b12fc..85f4a6aa59 100644 --- a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb +++ b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb @@ -41,7 +41,11 @@ do_install:append() { fi } +PACKAGE_BEFORE_PN = "${PN}-samples" + 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_AUTO_ENABLE ?= "disable" -- cgit v1.2.3-54-g00ecf