Openembedded Core Discussions
 help / color / mirror / Atom feed
* Configurable host name
@ 2012-08-08  8:13 Burton, Ross
  2012-08-08  9:30 ` Phil Blundell
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2012-08-08  8:13 UTC (permalink / raw)
  To: OE-core

Hi,

I think that the current hostname setting of $MACHINE (unless you
override base-files and change $hostname there) is too restrictive.
Distributions should be able to override it easily (i.e. adding a
distro-specific prefix) and individuals should also be able to change
it in local.conf (i.e. assigning a real-world name, i.e. beagle or
zbox).

My proposal would be to add something like HOSTNAME ?= "$MACHINE" to
default-distrovars.inc, and changing base-files to write the hostname
file in a new task using something like addtask hostname after
do_rootfs.

This is entirely untested but opinions (especially "you're wrong" or
"there's a better way") welcome.

Ross



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-08 14:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08  8:13 Configurable host name Burton, Ross
2012-08-08  9:30 ` Phil Blundell
2012-08-08 12:09   ` Burton, Ross
2012-08-08 13:36     ` Chris Larson
2012-08-08 13:50       ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox