[OE-core] [PATCH] base-files: allow for more flexibility related to hostname
Mark Asselstine
mark.asselstine at windriver.com
Tue Aug 28 13:45:27 UTC 2012
On August 28, 2012 08:47:33 Koen Kooi wrote:
> Op 27 aug. 2012, om 17:24 heeft Mark Asselstine
<mark.asselstine at windriver.com> het volgende geschreven:
> > Current logic used to create the /etc/hostname file is fairly
> > restrictive and doesn't allow for easy customization since the
> > variable 'hostname' is local to the base-files recipe.
>
> hostname_pn-basefiles_someotheroverride = "foo"
Point taken. Do you object to the attempt at making it less obscure however?
Any thoughts about the second part to this, not creating the /etc/hostname
file? Without being able to avoid the creation of /etc/hostname the
initscripts 'init.d/hostname.sh' will set the hostname overwriting what is set
by the kernel cmdline or dhcp.
Thanks for the feedback,
Mark
More information about the Openembedded-core
mailing list