Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1 v2] Hide issue and hostname menu when using a custom skeleton.
@ 2013-01-13 18:39 Sagaert Johan
  2013-08-13 22:11 ` Thomas Petazzoni
  2014-01-05 17:41 ` Yann E. MORIN
  0 siblings, 2 replies; 5+ messages in thread
From: Sagaert Johan @ 2013-01-13 18:39 UTC (permalink / raw)
  To: buildroot


Only show hostname and issue options when the default skeleton is selected.
Moved the menu sections so that when a custom skeleton is selected the 
issue and hostname options are hidden.

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
---
 v2 : Only hide issue and hostname menu when a custom skeleton is selected.

 system/Config.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/system/Config.in b/system/Config.in
index 69863c4..5b38cae 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -1,17 +1,5 @@
 menu "System configuration"
 
-config BR2_TARGET_GENERIC_HOSTNAME
-       string "System hostname"
-       default "buildroot"
-       help
-         Select system hostname to be stored in /etc/hostname.
-
-config BR2_TARGET_GENERIC_ISSUE
-       string "System banner"
-       default "Welcome to Buildroot"
-       help
-         Select system banner (/etc/issue) to be displayed at login.
-
 choice
 	bool "Passwords encoding"
 	default BR2_TARGET_GENERIC_PASSWD_MD5
@@ -173,6 +161,18 @@ endif
 
 if BR2_ROOTFS_SKELETON_DEFAULT
 
+config BR2_TARGET_GENERIC_HOSTNAME
+       string "System hostname"
+       default "buildroot"
+       help
+         Select system hostname to be stored in /etc/hostname.
+
+config BR2_TARGET_GENERIC_ISSUE
+       string "System banner"
+       default "Welcome to Buildroot"
+       help
+         Select system banner (/etc/issue) to be displayed at login.
+
 config BR2_TARGET_GENERIC_ROOT_PASSWD
 	string "Root password"
 	default ""
-- 
1.8.0.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-05 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 18:39 [Buildroot] [PATCH 1/1 v2] Hide issue and hostname menu when using a custom skeleton Sagaert Johan
2013-08-13 22:11 ` Thomas Petazzoni
2013-08-13 22:29   ` Yann E. MORIN
2013-08-14 12:37   ` Gustavo Zacarias
2014-01-05 17:41 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox