From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH V2] base-files: provide a mechanism to skip creation of the hostname file
Date: Fri, 7 Sep 2012 13:09:47 -0500 [thread overview]
Message-ID: <504A386B.1050804@windriver.com> (raw)
In-Reply-To: <43444447.DkGKhXIaYr@yow-masselst-d1>
On 8/30/12 12:20 PM, Mark Asselstine wrote:
> On August 28, 2012 21:11:47 Burton, Ross wrote:
>> On 28 August 2012 21:01, Mark Asselstine <mark.asselstine@windriver.com>
> wrote:
>>>> But surely this should be running very early in the boot, and a
>>>> DHCP-assigned name should be running afterwards?
>>>
>>> That hasn't been what I have observed, and doesn't cover the command line
>>> case. If you have an NFS root this would also not be the case as init will
>>> be run after the network is setup and root mounted.
>>
>> There was an implied "and if this isn't the case, a bug should be
>> filed". I hadn't thought about NFS-root though.
>>
>> Ross
>
> Thanks for your thoughts on this.
>
> Is there anything else I can contribute here?
I found a bug with this patch. If you are building with the deb packaging then
the conffiles is set to /etc/hostname, but the file may not always be created...
this causes a failure condition when generating .deb packages.
i.e.:
-CONFFILES_${PN} = "${sysconfdir}/fstab ${sysconfdir}/hostname"
+CONFFILES_${PN} = "${sysconfdir}/fstab ${@['',
'${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]}"
> Mark
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
prev parent reply other threads:[~2012-09-07 18:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-28 18:20 [PATCH V2] base-files: provide a mechanism to skip creation of the hostname file Mark Asselstine
2012-08-28 18:38 ` Phil Blundell
2012-08-28 18:53 ` Mark Asselstine
2012-08-28 19:16 ` Burton, Ross
2012-08-28 20:01 ` Mark Asselstine
2012-08-28 20:11 ` Burton, Ross
2012-08-30 17:20 ` Mark Asselstine
2012-09-07 18:09 ` Mark Hatle [this message]
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=504A386B.1050804@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/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