mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
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>
This commit is contained in:
@@ -27,10 +27,18 @@ PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
|
||||
PACKAGECONFIG[udev] = "--with-udev,--without-udev,udev,udev"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
|
||||
# ntp conflicts with chrony
|
||||
PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp"
|
||||
PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony"
|
||||
PACKAGECONFIG[ypbind] = "--with-eghook=yp, , ,ypbind-mt"
|
||||
|
||||
EXTRA_OECONF = "--enable-ipv4 \
|
||||
--dbdir=${localstatedir}/lib/${BPN} \
|
||||
--runstatedir=/run \
|
||||
--enable-privsep \
|
||||
--privsepuser=dhcpcd \
|
||||
--with-hooks \
|
||||
--with-eghooks \
|
||||
"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
|
||||
Reference in New Issue
Block a user