[Buildroot] [PATCH] Add package linux-pam (resending, fixed indentation, mentioned website)
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jul 20 21:58:53 UTC 2012
Le Fri, 20 Jul 2012 22:45:38 +0200,
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> a écrit :
> > +define LINUX_PAM_DISABLE_INNETGR
> > + echo >>$(@D)/config.h
> > + echo "#undef HAVE_RUSEROK">>$(@D)/config.h
> > + echo "#define HAVE_RUSEROK_AF">>$(@D)/config.h
> > + echo "#define ruserok_af(a, b, c, d, e) (-1)" >>$(@D)/config.h
> > + echo "#undef innetgr">>$(@D)/config.h
> > + echo "#define innetgr(a, b, c, d) 0" >>$(@D)/config.h
> > + echo "all:" >$(@D)/doc/Makefile
> > + echo "" >>$(@D)/doc/Makefile
> > + echo "install:" >>$(@D)/doc/Makefile
> > + echo "" >>$(@D)/doc/Makefile
> > +endef
>
> Can you add a comment above this justifying why this is needed?
Also, isn't there a nicer way of doing that? Like applying a nice patch
to linux-pam instead?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list