[Buildroot] [PATCH] busybox: disable PAM in the config if linux-pam is not selected

Matthew Weber matthew.weber at rockwellcollins.com
Mon Mar 26 12:49:42 UTC 2018


Arnout,

On Mon, Mar 26, 2018 at 7:00 AM, Arnout Vandecappelle (Essensium/Mind)
<arnout at mind.be> wrote:
> Currently there is only logic to enable PAM when linux-pam is selected.
> However, busybox will fail to build with PAM enabled if the linux-pam
> package has not been built before. So we should forcibly disable PAM in
> busybox in that case.
>
> Normally this is not an issue since our default busybox config doesn't
> have PAM enabled. However, if you enable linux-pam, then save the
> busybox config to a custom configuration file, then disable linux-pam
> again, and then do a "make clean; make", the build will fail. A more
> practical situation where this can occur is when the same custom
> busybox config is used in a Buildroot config with and without
> linux-pam.

I've observed that fun behaviour when we've gone between basic builds
and configurations with STIG/SELinux requirements.

Reviewed-by: Matt Weber <matthew.weber at rockwellcollins.com>



More information about the buildroot mailing list