haveged: use the Fedora service file available from upstream

Use the Fedora systemd service file which seems more advanced than the
somewhat less maintained Redhat service file.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Stefan Agner 2019-11-19 08:59:27 +00:00 committed by Khem Raj
parent e2c5249680
commit c1dd93296f

View File

@ -22,7 +22,7 @@ EXTRA_OECONF = "\
"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[systemd] = "--enable-init=service.redhat --enable-initdir=${systemd_system_unitdir}, --enable-init=sysv.redhat, systemd"
PACKAGECONFIG[systemd] = "--enable-init=service.fedora --enable-initdir=${systemd_system_unitdir}, --enable-init=sysv.redhat, systemd"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME = "haveged"