[OE-core] [PATCH V2 2/2] volatiles: Create /var/run/resolv.conf before linking to it

Michael Gloff mgloff at emacinc.com
Sat Feb 7 22:15:45 UTC 2015


Sorry for such a late reply. I'll fix the commit log. The reason for the
order change is that I get:

rm: can't remove '/etc/resolv.conf': Read-only file system
ln: /etc/resolv.conf: File exists

every time on boot up. When switched, no error messages. It does still
'work', I just thought I'd clear up an error message while I was at it.

Michael Gloff


On Mon, Dec 15, 2014 at 8:13 AM, Gary Thomas <gary at mlbassoc.com> wrote:

> No commit log?
>
> Also, the order for a symbolic link should not matter, so why make this
> change?
>
> On 2014-12-13 12:57, Michael Gloff wrote:
>
>> Signed-off-by: Michael Gloff <mgloff at emacinc.com>
>> ---
>>   meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> index 1fc5816..e6f0695 100644
>> --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles
>> @@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
>>   d root root 0755 /var/lock/subsys none
>>   f root root 0664 /var/log/wtmp none
>>   f root root 0664 /var/run/utmp none
>> -l root root 0644 /etc/resolv.conf /var/run/resolv.conf
>>   f root root 0644 /var/run/resolv.conf none
>> +l root root 0644 /etc/resolv.conf /var/run/resolv.conf
>>   d root root 1777 /run/media none
>>   l root root 1777 /media /run/media
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150207/78454cdd/attachment-0002.html>


More information about the Openembedded-core mailing list