![Yann E. MORIN](/assets/img/avatar_default.png)
The recent bump of polkit introduced a version that now unconditionally uses glibc-specific functions from the getnetgrent() familly, which are not available on musl or uClibc-ng. Hide away polkit when the C library is not glibc. Propagate the dependency to packages that select polkit: udisks and systemd. For systemd, add a comment. Fixes: http://autobuild.buildroot.org/results/d78/d783e6db60b187aa591f4b0150c590ab3aa5252f/ (musl) http://autobuild.buildroot.org/results/ba5/ba5da960c70c765bee753a79b9ad2c10967d05d6/ (uclibc) [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Marek Belisko <marek.belisko@open-nandra.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Artem Panfilov <apanfilov@spectracom.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_UDISKS
|
|
bool "udisks"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # polkit, lvm2
|
|
depends on BR2_USE_MMU # lvm2
|
|
depends on !BR2_STATIC_LIBS # lvm2
|
|
depends on BR2_USE_WCHAR # dbus-glib -> glib2
|
|
select BR2_PACKAGE_DBUS
|
|
select BR2_PACKAGE_DBUS_GLIB
|
|
select BR2_PACKAGE_SG3_UTILS
|
|
select BR2_PACKAGE_POLKIT
|
|
select BR2_PACKAGE_PARTED
|
|
select BR2_PACKAGE_LVM2
|
|
select BR2_PACKAGE_LIBATASMART
|
|
select BR2_PACKAGE_LIBGUDEV
|
|
help
|
|
The udisks project provides
|
|
|
|
o A storage daemon that implements well-defined D-Bus
|
|
interfaces that can be used to query and manipulate
|
|
storage devices.
|
|
|
|
o a command-line tool, udisks(1), that can be used to query
|
|
and use the daemon
|
|
|
|
http://www.freedesktop.org/wiki/Software/udisks
|
|
|
|
if BR2_PACKAGE_UDISKS
|
|
|
|
config BR2_PACKAGE_UDISKS_LVM2
|
|
bool "lvm2 support"
|
|
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
|
help
|
|
Enable LVM2 support
|
|
|
|
endif
|
|
|
|
comment "udisks needs udev /dev management"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV
|
|
|
|
comment "udisks needs a glibc toolchain w/ wchar, threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_USES_GLIBC
|