[PATCH] resolvconf: do not install dhclient hooks

Yi Zhao
2020-10-30T08:59:11Z

Do not install the dhclient hooks
/etc/dhcp/dhclient-enter-hooks.d/resolvconf because the dhclient has
been removed from oe-core.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb
index f0ffc82241..33ee553d19 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb
@@ -43,7 +43,7 @@ do_install () {
ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run
install -d ${D}${sysconfdir} ${D}${base_sbindir}
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
- cp -pPR etc/* ${D}${sysconfdir}/
+ cp -pPR etc/resolvconf ${D}${sysconfdir}/
chown -R root:root ${D}${sysconfdir}/
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
install -m 0755 bin/list-records ${D}${base_libdir}/${BPN}
--
2.17.1