[Buildroot] [PATCH v3 1/2] cracklib: New package

Sørensen, Stefan Stefan.Sorensen at spectralink.com
Fri May 5 12:33:58 UTC 2017


On Thu, 2017-05-04 at 23:34 +0200, Romain Naour wrote:
> Hi Stefan, all,
> 
> Le 04/05/2017 à 09:10, Sørensen, Stefan a écrit :
> > On Sun, 2017-04-30 at 15:36 +0200, Romain Naour wrote:
> > 
> > > +ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),)
> > > > +define CRACKLIB_REMOVE_TOOLS
> > > > +	rm -f $(TARGET_DIR)/usr/sbin/*cracklib*
> > > 
> > > Maybe this part can be done in a post install script instead ?
> > 
> > Post install script? I can't find any reference to what that is.
> 
> Sorry, I meant post build scripts, see BR2_ROOTFS_POST_BUILD_SCRIPT
> option.

The tools mostly for creating password dictionaries. I guess that these
will rarely be used on the target, so to me it seems better to remove
them in the package, rather than in post build scripts for everybody
that does not need them.

Stefan


More information about the buildroot mailing list