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

Mark Hatle mark.hatle at windriver.com
Thu Jul 31 15:48:13 UTC 2014


On 7/31/14, 10:42 AM, Khem Raj wrote:
> On Thu, Jul 31, 2014 at 7:59 AM, Sujith H <sujith.h at gmail.com> wrote:
>> +       echo 127.0.1.1 "             "${MACHINE} >> ${D}${sysconfdir}/hosts
>
> recipe will become MACHNE specific. Can this be done via post
> processing funcs instead ?
>

I had the same comment.  We don't want to do this in the recipe itself.  Instead 
we want to likely add a rootfs/image configuration step, like the 
zap_root_password and similar actions.

This way it can be enabled/disabled more easily based on user requirements.

--Mark



More information about the Openembedded-core mailing list