[Buildroot] handling package souce in .zip file

Lionel Landwerlin llandwerlin at gmail.com
Fri Nov 26 23:35:37 UTC 2010


Le samedi 27 novembre 2010 à 01:05 +0200, Paulius Zaleckas a écrit :
> On Fri, Nov 26, 2010 at 9:35 PM, Lionel Landwerlin
> <llandwerlin at gmail.com> wrote:
> > What's about this :
> >
> > unzip file.zip /tmp/plop
> > mv /tmp/plop/*/* output/build/myzippkg-0.1/
> 
> Yes, this is almost what I was thinking, but the problem is that there
> is no way to override "standard" buildroot extraction step or at least
> I don't know it (using GENTARGET) :)
> 

You just need to define a macro per ".ext", just like what we've got for
the download macros.

INFLATE.zip would be the 2 lines above, and for the rest it would be the
"bzcat/zcat/cat | tar -C ...".

Regards,

--
Lionel Landwerlin




More information about the buildroot mailing list