From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] util-linux: linux-pam is needed for su
Date: Sun, 3 Sep 2017 09:48:29 +0200 [thread overview]
Message-ID: <20170903074829.3782-1-bernd.kuhls@t-online.de> (raw)
With linux-pam, the configure script bails out with:
configure: error: su selected, but required PAM header file not available
Fixes:
http://autobuild.buildroot.net/results/338/3381a49d17aa0d4b9711cbb36a5d7b563a8ae08f/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/util-linux/Config.in | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index d2a925c1b..80aab881a 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -330,10 +330,18 @@ config BR2_PACKAGE_UTIL_LINUX_SETTERM
config BR2_PACKAGE_UTIL_LINUX_SU
bool "su"
- depends on BR2_USE_MMU # fork()
+ depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
+ depends on !BR2_STATIC_LIBS
+ depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+ depends on BR2_USE_MMU # fork(), linux-pam
+ select BR2_PACKAGE_LINUX_PAM
help
Run a command with substitute user and group ID
+comment "su needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
+ depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
+ || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
+
config BR2_PACKAGE_UTIL_LINUX_SULOGIN
bool "sulogin"
depends on BR2_USE_MMU # fork()
--
2.11.0
next reply other threads:[~2017-09-03 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 7:48 Bernd Kuhls [this message]
2017-09-03 11:17 ` [Buildroot] [PATCH 1/1] util-linux: linux-pam is needed for su Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170903074829.3782-1-bernd.kuhls@t-online.de \
--to=bernd.kuhls@t-online.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.