mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
dhcpcd: set --runstatedir to /run
Set --runstatedir to /run/dhcpcd rather than /var/run/dhcpcd (From OE-Core rev: e3aabde595a443ded2cab9a966f43dc07062ca99) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -30,6 +30,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
|
||||
|
||||
EXTRA_OECONF = "--enable-ipv4 \
|
||||
--dbdir=${localstatedir}/lib/${BPN} \
|
||||
--runstatedir=/run \
|
||||
"
|
||||
|
||||
do_install_append () {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user