diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-09-23 17:45:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-23 20:54:03 +0100 |
commit | d38c4ad2d9db3977f1882f0fa9231c43c1d7e160 (patch) | |
tree | a9fed1033c45f1842b3a85e539eb9f03c3fa896d /meta/recipes-connectivity/dhcpcd | |
parent | 50075fe214f6ef2f66bfd3213bc3824672c69f97 (diff) | |
download | poky-d38c4ad2d9db3977f1882f0fa9231c43c1d7e160.tar.gz |
dhcpcd: pass --dbdir to EXTRA_OECONF to set database directory
Set --dbdir to /var/lib/dhcpcd rather than /var/db/dhcpcd to satisfy FHS
compliance
(From OE-Core rev: 18d0c08b357236eb157e0b008faa413f31bd0214)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd')
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 4 |
1 files changed, 3 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 292cb5b008..3e1a83912a 100644 --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | |||
@@ -28,7 +28,9 @@ PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | |||
28 | PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" | 28 | PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" |
29 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" | 29 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" |
30 | 30 | ||
31 | EXTRA_OECONF = "--enable-ipv4" | 31 | EXTRA_OECONF = "--enable-ipv4 \ |
32 | --dbdir=${localstatedir}/lib/${BPN} \ | ||
33 | " | ||
32 | 34 | ||
33 | do_install_append () { | 35 | do_install_append () { |
34 | # install systemd unit files | 36 | # install systemd unit files |