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

Yi Zhao
2020-11-02T01:32:03Z

On 11/1/20 1:41 PM, Khem Raj wrote:
>
> 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 ?

yes, there are only dhcp/ and resolvconf/ directories under /etc/.

//Yi

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