]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
resolvconf: do not install dhclient hooks
authorYi Zhao <yi.zhao@windriver.com>
Fri, 30 Oct 2020 08:58:52 +0000 (16:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Oct 2020 08:53:13 +0000 (08:53 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/resolvconf/resolvconf_1.83.bb

index f0ffc8224114ba3132370b895e6b63a19c675b90..33ee553d19b9f36e1c9db93de52d74afeb57ac03 100644 (file)
@@ -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}