[Buildroot] [PATCH v7 22/22] cpio: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 10 22:16:18 UTC 2015


Clayton, 

On Fri, 10 Jul 2015 16:02:41 -0500, Clayton Shotwell wrote:

> > What is the motivation to have a host variant of cpio? cpio is already
> > part of the mandatory programs that Buildroot checks for at the
> > beginning of every build: it must be installed on the host system prior
> > to running Buildroot.
> 
> Well I am not using it for anything in particular, I really just need
> the target variant. I can remove the host option without any impact to
> anything.

Well, if you don't use it, then I'd prefer to not support the host
build, especially since cpio is already a mandatory dependency of
Buildroot.

We do have cases (like tar) where we support building a host option
even if it's a mandatory dependency, because some platforms have a too
old tar for Buildroot.

> 
> > If the ArchLinux patches apply without any adaptation, have you
> > considered using:
> >
> > CPIO_PATCH = \
> >         https://projects.archlinux.org/svntogit/packages.git/plain/trunk/cpio-2.11-stdio.in.patch?h=packages/cpio \
> >         ...
> >
> > instead ?
> 
> I always forget that is an option because I cannot freely download
> stuff behind our firewall. I'll look at changing the patches to links
> to make things simpler but I may have issues testing that all the
> links work properly.

I can test before committing, no problem with that.

Thanks!

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



More information about the buildroot mailing list