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

2014-08-04 Thread sujith h
Hi, I will post the new patch with ROOTFS_POSTPROCESS_COMMAND. Thanks for the feedback. On Fri, Aug 1, 2014 at 2:52 PM, Enrico Scholz < enrico.sch...@sigma-chemnitz.de> wrote: > Otavio Salvador writes: > > >>> + echo 127.0.1.1 " "${MACHINE} >> > ${D}${sysconfdir}/hosts > >> >

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

2014-08-01 Thread Enrico Scholz
Otavio Salvador 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? e.g. in sshd_config |

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

2014-07-31 Thread Mark Hatle
On 7/31/14, 3:44 PM, Otavio Salvador wrote: On Thu, Jul 31, 2014 at 1:20 PM, Enrico Scholz wrote: Sujith H 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

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

2014-07-31 Thread Otavio Salvador
On Thu, Jul 31, 2014 at 1:20 PM, Enrico Scholz wrote: > Sujith H 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 ki

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

2014-07-31 Thread Enrico Scholz
Sujith H 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. Enrico -- ___ Openembedd

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

2014-07-31 Thread Mark Hatle
On 7/31/14, 10:42 AM, Khem Raj wrote: On Thu, Jul 31, 2014 at 7:59 AM, Sujith H 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

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

2014-07-31 Thread Khem Raj
On Thu, Jul 31, 2014 at 7:59 AM, Sujith H wrote: > + echo 127.0.1.1 " "${MACHINE} >> ${D}${sysconfdir}/hosts recipe will become MACHNE specific. Can this be done via post processing funcs instead ? -- ___ Openembedded-core mailing lis

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

2014-07-31 Thread Sujith H
From: Sujith H If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below was the output observed without this change. root@mx6q:~# rpcinfo -s mx6q rpcinfo: can't contact