Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/polkit: add linux-pam as a dependency if linux-pam is selected
@ 2020-03-15 20:56 aduskett at gmail.com
  2020-03-15 21:12 ` Yann E. MORIN
  2020-03-21 21:53 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: aduskett at gmail.com @ 2020-03-15 20:56 UTC (permalink / raw)
  To: buildroot

From: Adam Duskett <Aduskett@gmail.com>

Without linux-pam built first, polkit will throw a configuration error:
configure: error: Could not find pam/pam-devel, please install the needed packages.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/polkit/polkit.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
index bc9e3580ab..efd788a05c 100644
--- a/package/polkit/polkit.mk
+++ b/package/polkit/polkit.mk
@@ -24,6 +24,7 @@ POLKIT_CONF_OPTS = \
 	--disable-libsystemd-login
 
 ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+POLKIT_DEPENDENCIES += linux-pam
 POLKIT_CONF_OPTS += --with-authfw=pam
 else
 POLKIT_CONF_OPTS += --with-authfw=shadow
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-21 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-15 20:56 [Buildroot] [PATCH 1/1] package/polkit: add linux-pam as a dependency if linux-pam is selected aduskett at gmail.com
2020-03-15 21:12 ` Yann E. MORIN
2020-03-21 21:53 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox