[Buildroot] Fixing linux-pam build failures

Dmitry Golubovsky golubovsky at gmail.com
Sat Sep 8 04:32:43 UTC 2012


Hi,

My initial assumption about the failures of linux-pam building in
autobuilder was not correct: the problem was in BerkeleyDB
configuration.

When BerkeleyDB is not built, the pam_userdb module is not built
either (via linux-pam configure). In this failed autobuilder
configuration Berkeley DB was selected. But dbm functionality was not
enabled in BerkeleyDB configure options. Thus the pam_userdb module
was attempted to build, but it failed due to the absence of dbm
functions in Berkeley DB, and this showed up in the build log.

I have submitted a series of patches which address the problem:

* if linux-pam is built, --enable-dbm is added to BerkeleyDB configure options
* BerkeleyDB is autoselected when linux-pam is selected, and
BerkeleyDB is now a dependency of linux-pam

I also included my two other patches (since linux-pam is being patched anyway):

* Provide dummy PAM config files to allow password-less logons via busybox login
* New configuration option for PAM support has been added to the
Busybox configuration menu.

Any suggestions are welcome.

Thanks.

-- 
Dmitry Golubovsky

Anywhere on the Web


More information about the buildroot mailing list