summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcpcd
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-10-15 14:29:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-17 12:34:29 +0100
commitab716982a025aabad28335ebac51773bad5115d7 (patch)
treec2e0132dbe770c370ae1e9fa5745edf472b0c97e /meta/recipes-connectivity/dhcpcd
parentb6d0627f250de99b7733c95385f15c6f5ce8c136 (diff)
downloadpoky-ab716982a025aabad28335ebac51773bad5115d7.tar.gz
dhcpcd: add PACKAGECONFIG for ntp/chrony/ypbind hooks
By default, the dhcpcd will search ntp/chrony/ypbind in host path when configuring and install the hooks once it find them. Add PACKAGECONFIG for these hooks to avoid the host contamination. (From OE-Core rev: 5039d313df6cb2c477766ada936806e4ffd5a8ec) 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.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
index 4344841b54..13467189b4 100644
--- a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb
@@ -27,10 +27,18 @@ PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
27 27
28PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev" 28PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
29PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6" 29PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
30# ntp conflicts with chrony
31PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp"
32PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony"
33PACKAGECONFIG[ypbind] = "--with-eghook=yp, , ,ypbind-mt"
30 34
31EXTRA_OECONF = "--enable-ipv4 \ 35EXTRA_OECONF = "--enable-ipv4 \
32 --dbdir=${localstatedir}/lib/${BPN} \ 36 --dbdir=${localstatedir}/lib/${BPN} \
33 --runstatedir=/run \ 37 --runstatedir=/run \
38 --enable-privsep \
39 --privsepuser=dhcpcd \
40 --with-hooks \
41 --with-eghooks \
34 " 42 "
35 43
36USERADD_PACKAGES = "${PN}" 44USERADD_PACKAGES = "${PN}"