CHROMIUM: config: set default hostname
Rhyland Klein [Tue, 23 Oct 2012 21:47:16 +0000 (17:47 -0400)]
Rather than wasting time in userspace running `hostname localhost`,
just boot the kernel with the default.

Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/34371
Reviewed-by: Olof Johansson <olofj@chromium.org>
(cherry picked from commit 8a1968a291abc47a0f05afd8967a4df6ae4da080)

This change fixes the issue where hostname was no longer working
on recent chrome nightlies.

bug 1164006

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I50318a1a6a1b9f7ed9bad4db968edda486e33904
Reviewed-on: http://git-master/r/147070
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

Rebase-Id: Ree11900fbd948b832c4c56a803485767663b6bb7

chromeos/config/base.config

index af48e28..f7048b5 100644 (file)
@@ -288,7 +288,7 @@ CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_WRITECOUNT is not set
 # CONFIG_DECNET is not set
 CONFIG_DECOMPRESS_GZIP=y
-CONFIG_DEFAULT_HOSTNAME="(none)"
+CONFIG_DEFAULT_HOSTNAME="localhost"
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 CONFIG_DEFAULT_SECURITY=""
 CONFIG_DEFAULT_SECURITY_DAC=y