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