浏览代码

system: clarify issue/hostname settings

A custom skeleton may include /etc/issue and/or /etc/hostname, in
which case we do not want to override them.

But those files could also be missing from the custom skeleton, or
the user may want to override their content.

Update the documentation to make it clear that the user can set these to the
empty string to make buildroot not create/overwrite these files.

[Peter: drop the different default values depending on skeleton]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
[yann.morin.1998@free.fr: change from hiding it behind SKELETON_DEFAULT
    to use conditional default values; move below the skeleton choice;
    improve help entries]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Sagaert Johan 11 年之前
父节点
当前提交
dec1a14687
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      system/Config.in

+ 6 - 0
system/Config.in

@@ -6,12 +6,18 @@ config BR2_TARGET_GENERIC_HOSTNAME
 	help
 	help
 	  Select system hostname to be stored in /etc/hostname.
 	  Select system hostname to be stored in /etc/hostname.
 
 
+	  Leave empty to not create /etc/hostname, or to keep the
+	  one from a custom skeleton.
+
 config BR2_TARGET_GENERIC_ISSUE
 config BR2_TARGET_GENERIC_ISSUE
 	string "System banner"
 	string "System banner"
 	default "Welcome to Buildroot"
 	default "Welcome to Buildroot"
 	help
 	help
 	  Select system banner (/etc/issue) to be displayed at login.
 	  Select system banner (/etc/issue) to be displayed at login.
 
 
+	  Leave empty to not create /etc/issue, or to keep the
+	  one from a custom skeleton.
+
 choice
 choice
 	bool "Passwords encoding"
 	bool "Passwords encoding"
 	default BR2_TARGET_GENERIC_PASSWD_MD5
 	default BR2_TARGET_GENERIC_PASSWD_MD5