Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] util-linux: fix chfn/chsh missing dependencies
@ 2014-04-21  5:54 Samuel Martin
  2014-04-21  8:35 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Martin @ 2014-04-21  5:54 UTC (permalink / raw)
  To: buildroot

chfn/chsh utilities need linux-pam.

Fixes:
  http://autobuild.buildroot.org/results/cfc/cfc5fd00b9db21b60efe8b74e9966b6192b1da17/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/util-linux/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index cef8009..28bda11 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -58,9 +58,14 @@ config BR2_PACKAGE_UTIL_LINUX_ARCH
 
 config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
 	bool "chfn/chsh"
+	select BR2_PACKAGE_LINUX_PAM
+	depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
 	help
 	  Change login shell, real user name and information
 
+comment "chfn/chsh needs a toolchain w/ wchar, locale"
+	depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+
 config BR2_PACKAGE_UTIL_LINUX_CRAMFS
 	bool "cramfs utilities"
 	select BR2_PACKAGE_ZLIB
-- 
1.9.2

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

end of thread, other threads:[~2014-04-21  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21  5:54 [Buildroot] [PATCH] util-linux: fix chfn/chsh missing dependencies Samuel Martin
2014-04-21  8:35 ` Thomas Petazzoni

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