[OE-core] [PATCH] netbase: Adding loop back for machine name in hosts file

Otavio Salvador otavio at ossystems.com.br
Thu Jul 31 20:44:02 UTC 2014


On Thu, Jul 31, 2014 at 1:20 PM, Enrico Scholz
<enrico.scholz at sigma-chemnitz.de> wrote:
> Sujith H <sujith.h-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> writes:
>
>> +     echo 127.0.1.1 "             "${MACHINE} >> ${D}${sysconfdir}/hosts
>
> This is a very questionable setup which causes a lot of harm.  When
> really wanted, it should be made optional and not the default.

What kind of harm you see?

I think moving this to postinst works for me and does not cause
problems I think.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list