diff mbox series

[1/1] package/polkit: add linux-pam as a dependency if linux-pam is selected

Message ID 20200315205610.2227486-1-aduskett@gmail.com
State Accepted
Headers show
Series [1/1] package/polkit: add linux-pam as a dependency if linux-pam is selected | expand

Commit Message

Adam Duskett March 15, 2020, 8:56 p.m. UTC
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(+)

Comments

Yann E. MORIN March 15, 2020, 9:12 p.m. UTC | #1
Adam, All,

On 2020-03-15 13:56 -0700, aduskett@gmail.com spake thusly:
> 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>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  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
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard March 21, 2020, 9:53 p.m. UTC | #2
>>>>> "aduskett" == aduskett  <aduskett@gmail.com> writes:

 > 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>

Committed to 2020.02.x, thanks.
diff mbox series

Patch

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