[OE-core] [PATCH] base-files: Allow setting hostname through DISTRO_HOSTNAME
Philip Balister
philip at balister.org
Mon Sep 15 11:20:35 UTC 2014
On 09/14/2014 06:30 PM, Burton, Ross wrote:
> On 11 September 2014 21:33, Soren Brinkmann <soren.brinkmann at xilinx.com> wrote:
>> Add a distro variable to set the hostname. This allows easily assigning
>> a hostname in local.conf.
>
> It's already as easy as assigning a hostname in local.conf:
>
> hostname_pn-base-files = "cuteembeddedhack"
>
> Also your patch doesn't add a distro-level variable, it just adds
> another package-level variable.
>
> Patches like this tend to appear every 18 months or so, clearly we
> need to ensure this is documented.
We should change this line in the bb file:
# set standard hostname, might be a candidate for a DISTRO variable? :M:
to let people know how to override from local.conf.
If no one gets to this soon, I will when I am home.
Philip
>
> Ross
>
More information about the Openembedded-core
mailing list