On 7/31/14, 3:44 PM, Otavio Salvador wrote:
On Thu, Jul 31, 2014 at 1:20 PM, Enrico Scholz
<enrico.sch...@sigma-chemnitz.de> wrote:
Sujith H <sujith.h-re5jqeeqqe8avxtiumw...@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.


The only default configuration for 127.0.0.1 (not 1.1) should be localhost. Anything after that is installation independent and should be configured outside of the 'package' scope...

I recommend ROOTFS_POSTINSTALL_COMMAND...

--Mark
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to