aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2016-07-17 10:44:28 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-18 23:45:49 +0200
commit8c8b9b6ad782957941fed25a86a470638f3b4347 (patch)
tree2c27d4643f9738d2a154c906568850c6c5bd6d8b /system
parent65329a102485c7a760a0129643b128f44c73c0f4 (diff)
downloadbuildroot-8c8b9b6ad782957941fed25a86a470638f3b4347.tar.gz
buildroot-8c8b9b6ad782957941fed25a86a470638f3b4347.tar.bz2
system: do not set hostname and issue for custom skeleton
We expect the custom skeleton to be fully filled with the necessary files, now. There is definitely no reason we should handle setting the hostname and the issue file in there. A user using a custom skeleton should be fully responsible for providing a functional skeleton. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/Config.in b/system/Config.in
index d9a9dfb06a..4c05186fc5 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -28,6 +28,8 @@ config BR2_ROOTFS_MERGED_USR
endif
+if BR2_ROOTFS_SKELETON_DEFAULT
+
config BR2_TARGET_GENERIC_HOSTNAME
string "System hostname"
default "buildroot"
@@ -46,6 +48,8 @@ config BR2_TARGET_GENERIC_ISSUE
Leave empty to not create /etc/issue, or to keep the
one from a custom skeleton.
+endif
+
choice
bool "Passwords encoding"
default BR2_TARGET_GENERIC_PASSWD_MD5