summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-03-02 04:40:34 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-03-02 07:38:33 (GMT)
commit936c0e10c1c8d7f5ca9d84324dadbc337accaf59 (patch)
tree0738b12801808c7266611b3a1a7eadca03f0db9e
parent26a15ae6a63cf6c7f38775f4737fc1298dc3b671 (diff)
downloadbuildroot-936c0e10c1c8d7f5ca9d84324dadbc337accaf59.tar.gz
buildroot-936c0e10c1c8d7f5ca9d84324dadbc337accaf59.tar.bz2
autofs: disable for musl
autofs requires nsswitch which musl libc does not implement. Commit 873040371b14 (autofs: allow to use libtirpc) removed the BR2_TOOLCHAIN_HAS_NATIVE_RPC dependency, making autofs available for musl. Disable musl explicitly. Fixes: http://autobuild.buildroot.net/results/a54/a549b62fbf03474ffd8586869637d083de275091/ http://autobuild.buildroot.net/results/b32/b3276b2cbd1e1c260f8df4c3945f51ddc09d492f/ http://autobuild.buildroot.net/results/10b/10b5c5b13971214d0439b715f1a46c78a5249309/ Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Jonathan Ben Avraham <yba@tkos.co.il> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/autofs/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/autofs/Config.in b/package/autofs/Config.in
index efb0ec2..8bb5fe2 100644
--- a/package/autofs/Config.in
+++ b/package/autofs/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_AUTOFS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS # dlfcn
+ depends on !BR2_TOOLCHAIN_USES_MUSL # nsswitch
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
help
Autofs controls the operation of the automount daemons. The
@@ -15,6 +16,7 @@ config BR2_PACKAGE_AUTOFS
http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html
-comment "autofs needs a toolchain w/ NPTL and dynamic library"
+comment "autofs needs a glibc or uClibc toolchain w/ NPTL and dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
+ || BR2_TOOLCHAIN_USES_MUSL