Skip to contentSkip to conversation

util-linux: fix chfn/chsh missing dependencies

PATCH New Samuel Martin 2 participants 2 messages Apr 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util-linux: fix chfn/chsh missing dependencies

chfn/chsh utilities need linux-pam.

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

---
 package/util-linux/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/util-linux/Config.in +5 -0
index cef8009..28bda11 100644
@@ -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
Signature · 1 line
1.9.2
#1 lore raw

PATCH 1/1 util-linux: fix chfn/chsh missing dependencies

Dear Samuel Martin,

Quoted 9 lines · Samuel Martin

chfn/chsh utilities need linux-pam.

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

---
 package/util-linux/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com