diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-10-15 14:29:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-17 12:34:29 +0100 |
commit | ab716982a025aabad28335ebac51773bad5115d7 (patch) | |
tree | c2e0132dbe770c370ae1e9fa5745edf472b0c97e /meta/recipes-connectivity/dhcpcd | |
parent | b6d0627f250de99b7733c95385f15c6f5ce8c136 (diff) | |
download | poky-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.bb | 8 |
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 | ||
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 | # ntp conflicts with chrony | ||
31 | PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp" | ||
32 | PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony" | ||
33 | PACKAGECONFIG[ypbind] = "--with-eghook=yp, , ,ypbind-mt" | ||
30 | 34 | ||
31 | EXTRA_OECONF = "--enable-ipv4 \ | 35 | EXTRA_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 | ||
36 | USERADD_PACKAGES = "${PN}" | 44 | USERADD_PACKAGES = "${PN}" |