[Buildroot] [PATCH 1/2] system/skeleton: make nsswitch install conditional

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 20 13:54:47 UTC 2014


Dear Gustavo Zacarias,

On Mon, 20 Oct 2014 10:43:16 -0300, Gustavo Zacarias wrote:

> >> gustavoz at asgard ~/git/buildroot/package $ find . -name \*.mk -exec grep
> >> --with-filename TARGET_FINALIZE {} \;
> >> ./perl/perl.mk:TARGET_FINALIZE_HOOKS += PERL_FINALIZE_TARGET
> > 
> > Only removes stuff.
> 
> But it will alter your package size measurments outside of package
> scope, you need to account for those.

Yes, this is already taken care of in my script. There are lots of
other files that get removed (header files, static libraries, etc.).

> > The skeleton can be made a package of its own.
> > 
> > See, I'm not too far away :-)
> 
> Yes, it's called baselayout in gentoo, base-files in some other distros
> and so on, you probably already know them.

Yep.

> But nobody made it yet.

Indeed, but it wouldn't be too hard to do I believe.

Best regards,

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



More information about the buildroot mailing list