quagga: fix tmpfiles snippet to refer to /run instead of /var/run

This fixes a complaint from systemd on boot:

    systemd-tmpfiles[393]: [/etc/tmpfiles.d/quagga.conf:1] Line
    references path below legacy directory /var/run/, updating
    /var/run/quagga → /run/quagga; please update the tmpfiles.d/ drop-in
    file accordingly.

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Callaghan, Dan
2020-02-11 16:08:33 +10:00
committed by Khem Raj
parent 876f4ce763
commit ff543375f4
@@ -117,7 +117,7 @@ do_install () {
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/tmpfiles.d install -d ${D}${sysconfdir}/tmpfiles.d
echo "d /var/run/quagga 0755 quagga quagga -" \ echo "d /run/quagga 0755 quagga quagga -" \
> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
fi fi