[Buildroot] [PATCH v9 10/15] openssh: selinux and pam support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 18 15:38:21 UTC 2015


Dear Clayton Shotwell,

On Tue, 14 Jul 2015 15:20:22 -0500, Clayton Shotwell wrote:

>  ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> +define OPENSSH_INSTALL_PAM_CONF
> +	$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd
> +	$(SED) '/password   required     \/lib\/security\/pam_cracklib.so/d' $(TARGET_DIR)/etc/pam.d/sshd

I've replaced this line with:

	$(SED) '\%password   required     /lib/security/pam_cracklib.so%d' $(TARGET_DIR)/etc/pam.d/sshd

which does exactly the same but thanks to using the % delimiter, is a
bit more readable.

Applied this this changed.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list