diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2020-09-23 17:45:46 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-23 20:54:03 +0100 |
| commit | 23c09875681b4736c023e7abf4cd35418fef208f (patch) | |
| tree | eaf2b37279e43a0c105fe1de44adf66ed3fd93ca | |
| parent | d38c4ad2d9db3977f1882f0fa9231c43c1d7e160 (diff) | |
| download | poky-23c09875681b4736c023e7abf4cd35418fef208f.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | 2 |
2 files changed, 2 insertions, 1 deletions
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" | |||
| 30 | 30 | ||
| 31 | EXTRA_OECONF = "--enable-ipv4 \ | 31 | EXTRA_OECONF = "--enable-ipv4 \ |
| 32 | --dbdir=${localstatedir}/lib/${BPN} \ | 32 | --dbdir=${localstatedir}/lib/${BPN} \ |
| 33 | --runstatedir=/run \ | ||
| 33 | " | 34 | " |
| 34 | 35 | ||
| 35 | do_install_append () { | 36 | do_install_append () { |
diff --git a/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service index c81bb05ea5..3543e6c3d2 100644 --- a/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service +++ b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | |||
| @@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device | |||
| 7 | 7 | ||
| 8 | [Service] | 8 | [Service] |
| 9 | Type=forking | 9 | Type=forking |
| 10 | PIDFile=/run/dhcpcd-%I.pid | 10 | PIDFile=/run/dhcpcd/%I.pid |
| 11 | ExecStart=/usr/sbin/dhcpcd -q %I | 11 | ExecStart=/usr/sbin/dhcpcd -q %I |
| 12 | ExecStop=/usr/sbin/dhcpcd -x %I | 12 | ExecStop=/usr/sbin/dhcpcd -x %I |
| 13 | 13 | ||
