diff options
author | Marc Ferland <ferlandm@amotus.ca> | 2023-05-30 14:58:48 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-01 08:05:11 +0100 |
commit | cbbd5352054c98d102bb6b52ef61a2d2be20e936 (patch) | |
tree | e5ada0e73c068b9801741aed8594980089f4170a /meta/recipes-connectivity | |
parent | 09505f876856471aa46774237bd3f0888615b89f (diff) | |
download | poky-cbbd5352054c98d102bb6b52ef61a2d2be20e936.tar.gz |
connman: fix warning by specifying runstatedir at configure time
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".
(From OE-Core rev: 8d17776765a99a4ae327797206ef2a8a735ce87b)
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>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index d7af94f792..7487ca0d0c 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -27,6 +27,7 @@ EXTRA_OECONF += "\ | |||
27 | --enable-ethernet \ | 27 | --enable-ethernet \ |
28 | --enable-tools \ | 28 | --enable-tools \ |
29 | --disable-polkit \ | 29 | --disable-polkit \ |
30 | --runstatedir=/run \ | ||
30 | " | 31 | " |
31 | # For smooth operation it would be best to start only one wireless daemon at a time. | 32 | # For smooth operation it would be best to start only one wireless daemon at a time. |
32 | # If wpa-supplicant is running, connman will use it preferentially. | 33 | # If wpa-supplicant is running, connman will use it preferentially. |