[oe] [meta-networking][PATCH 1/2] quagga: fix tmpfiles snippet to refer to /run instead of /var/run
Dan Callaghan
dan.callaghan at opengear.com
Tue Feb 11 06:08:33 UTC 2020
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 at opengear.com>
---
meta-networking/recipes-protocols/quagga/quagga.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index dfd6aa7eb..2673a8976 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -117,7 +117,7 @@ do_install () {
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
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
fi
--
2.21.1
More information about the Openembedded-devel
mailing list