mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/polkit: support different authentication frameworks
Use pam if available, otherwise use shadow. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ce2a5eff78
commit
8cd65cdbbd
@@ -13,13 +13,17 @@ POLKIT_INSTALL_STAGING = YES
|
|||||||
|
|
||||||
POLKIT_DEPENDENCIES = libglib2 host-intltool expat spidermonkey
|
POLKIT_DEPENDENCIES = libglib2 host-intltool expat spidermonkey
|
||||||
|
|
||||||
# We could also support --with-authfw=pam
|
|
||||||
POLKIT_CONF_OPTS = \
|
POLKIT_CONF_OPTS = \
|
||||||
--with-authfw=shadow \
|
|
||||||
--with-os-type=unknown \
|
--with-os-type=unknown \
|
||||||
--disable-man-pages \
|
--disable-man-pages \
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
--disable-libelogind \
|
--disable-libelogind \
|
||||||
--disable-libsystemd-login
|
--disable-libsystemd-login
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||||
|
POLKIT_CONF_OPTS += --with-authfw=pam
|
||||||
|
else
|
||||||
|
POLKIT_CONF_OPTS += --with-authfw=shadow
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user