[OE-core] [PATCH] base-files: clean up and clarify hostname logic
Christopher Larson
clarson at kergoth.com
Mon Feb 23 16:25:41 UTC 2015
On Mon, Feb 23, 2015 at 7:44 AM, Ross Burton <ross.burton at intel.com> wrote:
> +# The default hostname. If set to the magic value "machinename" then the
> value
> +# of MACHINE is used. If the hostname is unset then a /etc/hostname file
> isn't
> +# written, suitable for environments with dynamic hostnames.
> #
> -# set standard hostname, might be a candidate for a DISTRO variable? :M:
> -#
> -hostname = "openembedded"
> +# This can be changed outside of this recipe by using
> +# hostname_pn-base-files = "my-host-name".
> +hostname = "machinename"
>
Question, why use a magic value at all? Why not just set hostname =
"${MACHINE}"?
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150223/7fb600df/attachment-0002.html>
More information about the Openembedded-core
mailing list