Skip to contentSkip to conversation

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

PATCH New aduskett at gmail.com 3 participants 3 messages Mar 15, 2020 – Mar 21, 2020

lore
Share & tools
lore
#0 lore raw

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

From: Adam Duskett <[email protected]>

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

---
 package/polkit/polkit.mk | 1 +
 1 file changed, 1 insertion(+)
package/polkit/polkit.mk +1 -0
index bc9e3580ab..efd788a05c 100644
@@ -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
Signature · 1 line
2.24.1
#1 lore raw

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

Adam, All,

On 2020-03-15 13:56 -0700, aduskett at gmail.com spake thusly:

Quoted 6 lines

From: Adam Duskett <[email protected]>

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

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/polkit/polkit.mk | 1 +
 1 file changed, 1 insertion(+)
package/polkit/polkit.mk +1 -0
index bc9e3580ab..efd788a05c 100644
@@ -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
Signature · 6 lines
2.24.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

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

In reply to aduskett at gmail.com
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"aduskett" == aduskett <[email protected]> writes:

From: Adam Duskett <[email protected]>
Without linux-pam built first, polkit will throw a configuration error:
configure: error: Could not find pam/pam-devel, please install the needed packages.

Committed to 2020.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard