mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user