Hello Oliver, please keep the mailinglist on Cc On 02/26/2015 08:33 AM, Oliver.Graute@neuhaus.de wrote: >> > +LINUX_PAM_LICENSE := gpl >> >> We usually write GPL in uppercase, in AFICS fact pam is dual licensed >> under GPL (version not stated) and I think a BSD license, but I'm not >> sure about that. > > I'am also not sure about the license. The COPYING file indicate a mixture > of BSD and GPL. So what should I enter as Licence here? GPL, BSD > >> > + @$(call install_copy, linux-pam, 0, 0, 0644, $(LINUX_PAM_DIR)/ >> conf/pam.conf, /etc/pam.conf) >> please use install_alternative instead. > > @$(call install_alternative, linux-pam, 0, 0, 0644, /conf/pam.conf) > > in the build directory the pam.conf is in /conf but on the target > I need it in /etc/pam.conf. Is that possible with the install_alternative > directive? Copy pam.conf to ptxdist/projectroot/etc and add this file to this patch. Then you can overwrite pam.conf in you BSP if needed. BTW: Please look at pam's configure options and set sensible defaults for, but not limited to: prelude, pamlocking, lckpwdf, cracklib, audit, db, nis, selinux, mailspool, xauth. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |