mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
packages/linux-pam: disable when using musl
Fixes: http://autobuild.buildroot.net/results/e33/e337d69420ad00b2cc4017d639a31803926f2353/ linux-pam needs some surgery to build under musl, so for the time being disable it until the issues are solved. Also disables dependent package python-pam, and dependent suboptions under openvmtools, rsh-redone and util-linux. Signed-off-by: Brendan Heading <brendanheading@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1a07750cc5
commit
25ecd24579
@ -10,11 +10,12 @@ config BR2_PACKAGE_LINUX_PAM
|
|||||||
# https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
|
# https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
|
||||||
# for details.
|
# for details.
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
help
|
help
|
||||||
A Security Framework that Provides Authentication for Applications
|
A Security Framework that Provides Authentication for Applications
|
||||||
|
|
||||||
http://linux-pam.org
|
http://linux-pam.org
|
||||||
|
|
||||||
comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
|
comment "linux-pam needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
@ -36,11 +36,12 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM
|
|||||||
# linux-pam needs locale and wchar, but we already have this
|
# linux-pam needs locale and wchar, but we already have this
|
||||||
# dependency on the main symbol, above.
|
# dependency on the main symbol, above.
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
help
|
help
|
||||||
Support for PAM in openvmtools
|
Support for PAM in openvmtools
|
||||||
|
|
||||||
comment "PAM support needs a toolchain w/ dynamic library"
|
comment "PAM support needs a uClibc or (e)glibc toolchain w/ dynamic library"
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
comment "python-pam needs a toolchain w/ wchar, locale, dynamic library"
|
comment "python-pam needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on BR2_PACKAGE_PYTHON
|
depends on BR2_PACKAGE_PYTHON
|
||||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
||||||
|
BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
config BR2_PACKAGE_PYTHON_PAM
|
config BR2_PACKAGE_PYTHON_PAM
|
||||||
bool "python-pam"
|
bool "python-pam"
|
||||||
@ -8,6 +9,7 @@ config BR2_PACKAGE_PYTHON_PAM
|
|||||||
depends on BR2_ENABLE_LOCALE # linux-pam
|
depends on BR2_ENABLE_LOCALE # linux-pam
|
||||||
depends on BR2_USE_WCHAR # linux-pam
|
depends on BR2_USE_WCHAR # linux-pam
|
||||||
depends on !BR2_STATIC_LIBS # linux-pam
|
depends on !BR2_STATIC_LIBS # linux-pam
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
select BR2_PACKAGE_LINUX_PAM
|
select BR2_PACKAGE_LINUX_PAM
|
||||||
help
|
help
|
||||||
PAM (Pluggable Authentication Module) bindings for Python.
|
PAM (Pluggable Authentication Module) bindings for Python.
|
||||||
|
@ -16,11 +16,12 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND
|
|||||||
bool "rlogind"
|
bool "rlogind"
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
select BR2_PACKAGE_LINUX_PAM
|
select BR2_PACKAGE_LINUX_PAM
|
||||||
|
|
||||||
comment "rlogind needs a toolchain w/ wchar, locale, dynamic library"
|
comment "rlogind needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
config BR2_PACKAGE_RSH_REDONE_RSH
|
config BR2_PACKAGE_RSH_REDONE_RSH
|
||||||
bool "rsh"
|
bool "rsh"
|
||||||
@ -29,10 +30,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD
|
|||||||
bool "rshd"
|
bool "rshd"
|
||||||
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
select BR2_PACKAGE_LINUX_PAM
|
select BR2_PACKAGE_LINUX_PAM
|
||||||
|
|
||||||
comment "rshd needs a toolchain w/ wchar, locale, dynamic library"
|
comment "rshd needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -66,13 +66,14 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
|
|||||||
bool "chfn/chsh"
|
bool "chfn/chsh"
|
||||||
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
select BR2_PACKAGE_LINUX_PAM
|
select BR2_PACKAGE_LINUX_PAM
|
||||||
help
|
help
|
||||||
Change login shell, real user name and information
|
Change login shell, real user name and information
|
||||||
|
|
||||||
comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library"
|
comment "chfn/chsh needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
||||||
bool "cramfs utilities"
|
bool "cramfs utilities"
|
||||||
@ -124,13 +125,14 @@ config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
|
|||||||
bool "login utilities"
|
bool "login utilities"
|
||||||
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||||
select BR2_PACKAGE_LINUX_PAM
|
select BR2_PACKAGE_LINUX_PAM
|
||||||
help
|
help
|
||||||
Build login utilities (last, login, su, sulogin)
|
Build login utilities (last, login, su, sulogin)
|
||||||
|
|
||||||
comment "login utilities needs a toolchain w/ wchar, locale, dynamic library"
|
comment "login utilities needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||||
|| BR2_STATIC_LIBS
|
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_LOSETUP
|
config BR2_PACKAGE_UTIL_LINUX_LOSETUP
|
||||||
bool "losetup"
|
bool "losetup"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user