Re: [OE-core] [PATCH] resolvconf: do not install dhclient hooks

Khem Raj
2020-11-01T05:41:46Z

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

On 10/30/20 1:58 AM, Yi Zhao wrote:
> 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}/

is this the only dir left to copy if we ignore dhcp/dhclient-enter-hooks.d ?

> chown -R root:root ${D}${sysconfdir}/
> install -m 0755 bin/resolvconf ${D}${base_sbindir}/
> install -m 0755 bin/list-records ${D}${base_libdir}/${BPN}
>
>
>
>
>

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2373 bytes --]