]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
connman: fix warning by specifying runstatedir at configure time
authorMarc Ferland <ferlandm@amotus.ca>
Tue, 30 May 2023 18:58:48 +0000 (14:58 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Jun 2023 07:04:14 +0000 (08:04 +0100)
Without this patch, systemd complains on startup with messages similar
to:

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

By default, connman will use "/var/run/connman" for runstatedir
instead of the now recommended "/run/connman".

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman.inc

index d7af94f792bd7d8088292982779fbe9a01165c64..7487ca0d0c6a374134cbc684bb654ebac521b5f4 100644 (file)
@@ -27,6 +27,7 @@ EXTRA_OECONF += "\
     --enable-ethernet \
     --enable-tools \
     --disable-polkit \
+    --runstatedir=/run \
 "
 # For smooth operation it would be best to start only one wireless daemon at a time.
 # If wpa-supplicant is running, connman will use it preferentially.