Bladeren bron

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 jaren geleden
bovenliggende
commit
dec1a14687
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  1. 6 0
      system/Config.in

+ 6 - 0
system/Config.in

@@ -6,12 +6,18 @@ config BR2_TARGET_GENERIC_HOSTNAME
 	help
 	  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
 	string "System banner"
 	default "Welcome to Buildroot"
 	help
 	  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
 	bool "Passwords encoding"
 	default BR2_TARGET_GENERIC_PASSWD_MD5