aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-09-23 17:45:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-23 20:53:10 +0100
commit18d0c08b357236eb157e0b008faa413f31bd0214 (patch)
treef34acb2d8a04c643ffe2a92bb2a019bc8cc42418
parentea5128fde10eb9be7fefbbb87ae6181edd2bcdff (diff)
downloadopenembedded-core-contrib-18d0c08b357236eb157e0b008faa413f31bd0214.tar.gz
openembedded-core-contrib-18d0c08b357236eb157e0b008faa413f31bd0214.tar.bz2
openembedded-core-contrib-18d0c08b357236eb157e0b008faa413f31bd0214.zip
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 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.bb4
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 292cb5b0085..3e1a83912a4 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)}"
PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
-EXTRA_OECONF = "--enable-ipv4"
+EXTRA_OECONF = "--enable-ipv4 \
+ --dbdir=${localstatedir}/lib/${BPN} \
+ "
do_install_append () {
# install systemd unit files