[Buildroot] [git commit] system/skeleton: remove /etc/hostname

Peter Korsgaard jacmet at sunsite.dk
Wed Jun 19 18:27:01 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=9dab397a4fa019b6b0825809d13f93214212284b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We already provide BR2_TARGET_GENERIC_HOSTNAME to set /etc/hostname,
so a default /etc/hostname file isn't needed.

More importantly, if the user has explictly set BR2_TARGET_GENERIC_HOSTNAME
to the empty string, we would still end up with a /etc/hostname containing
'buildroot' which is unlikely to be what the user wanted.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 system/skeleton/etc/hostname |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/system/skeleton/etc/hostname b/system/skeleton/etc/hostname
deleted file mode 100644
index 5b26b35..0000000
--- a/system/skeleton/etc/hostname
+++ /dev/null
@@ -1 +0,0 @@
-buildroot


More information about the buildroot mailing list