Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Khem Raj <raj.khem@gmail.com>, Sujith H <sujith.h@gmail.com>
Cc: Sujith H <Sujith_Haridasan@mentor.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] netbase: Adding loop back for machine name in hosts file
Date: Thu, 31 Jul 2014 10:48:13 -0500	[thread overview]
Message-ID: <53DA653D.2050305@windriver.com> (raw)
In-Reply-To: <CAMKF1sqJGzLrLBpXpb7H6g8WgYZFbn6h-9=bZ1V1K_ox066Lcg@mail.gmail.com>

On 7/31/14, 10:42 AM, Khem Raj wrote:
> On Thu, Jul 31, 2014 at 7:59 AM, Sujith H <sujith.h@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


  reply	other threads:[~2014-07-31 15:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-31 14:59 [PATCH] netbase: Adding loop back for machine name in hosts file Sujith H
2014-07-31 15:42 ` Khem Raj
2014-07-31 15:48   ` Mark Hatle [this message]
2014-07-31 16:20 ` Enrico Scholz
2014-07-31 20:44   ` Otavio Salvador
2014-08-01  0:20     ` Mark Hatle
2014-08-01  9:22     ` Enrico Scholz
2014-08-04 13:57       ` sujith h

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53DA653D.2050305@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=Sujith_Haridasan@mentor.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=sujith.h@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox