public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] resolvconf: do not install dhclient hooks
@ 2020-10-30  8:58 Yi Zhao
  2020-11-01  5:41 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Yi Zhao @ 2020-10-30  8:58 UTC (permalink / raw)
  To: openembedded-core

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] resolvconf: do not install dhclient hooks
  2020-10-30  8:58 [PATCH] resolvconf: do not install dhclient hooks Yi Zhao
@ 2020-11-01  5:41 ` Khem Raj
  2020-11-02  1:31   ` Yi Zhao
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-11-01  5:41 UTC (permalink / raw)
  To: Yi Zhao, openembedded-core

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] resolvconf: do not install dhclient hooks
  2020-11-01  5:41 ` [OE-core] " Khem Raj
@ 2020-11-02  1:31   ` Yi Zhao
  0 siblings, 0 replies; 3+ messages in thread
From: Yi Zhao @ 2020-11-02  1:31 UTC (permalink / raw)
  To: Khem Raj, openembedded-core


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}
>>
>>
>>
>> 
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-02  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-30  8:58 [PATCH] resolvconf: do not install dhclient hooks Yi Zhao
2020-11-01  5:41 ` [OE-core] " Khem Raj
2020-11-02  1:31   ` Yi Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox