Set --runstatedir to /run/dhcpcd rather than /var/run/dhcpcd
Signed-off-by: Yi Zhao <[email protected]>
---
meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 1 +
meta/recipes-connectivity/dhcpcd/files/[email protected] | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
index 3e1a83912a..557e15128e 100644
--- a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
@@ -30,6 +30,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
EXTRA_OECONF = "--enable-ipv4 \
--dbdir=${localstatedir}/lib/${BPN} \
+ --runstatedir=/run \
"
do_install_append () {
diff --git a/meta/recipes-connectivity/dhcpcd/files/[email protected]
b/meta/recipes-connectivity/dhcpcd/files/[email protected]
index c81bb05ea5..3543e6c3d2 100644
--- a/meta/recipes-connectivity/dhcpcd/files/[email protected]
+++ b/meta/recipes-connectivity/dhcpcd/files/[email protected]
@@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
[Service]
Type=forking
-PIDFile=/run/dhcpcd-%I.pid
+PIDFile=/run/dhcpcd/%I.pid
ExecStart=/usr/sbin/dhcpcd -q %I
ExecStop=/usr/sbin/dhcpcd -x %I
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142733):
https://lists.openembedded.org/g/openembedded-core/message/142733
Mute This Topic: https://lists.openembedded.org/mt/77031554/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-