[Buildroot] Source download overwrite

Mathieu Slabbinck matty.slabbinck at gmail.com
Fri Nov 14 14:27:43 UTC 2014


Thomas,

thanks for pointing this out. Was looking for this kind of variable but
didn't really find any docs about it.
Managed to get it working now.

Thanks!

Mathieu

2014-11-14 14:14 GMT+01:00 Thomas Petazzoni <
thomas.petazzoni at free-electrons.com>:

> Dear Mathieu Slabbinck,
>
> On Fri, 14 Nov 2014 10:24:58 +0100, Mathieu Slabbinck wrote:
> > Hi,
> >
> > I'm looking for a way to overwrite the internal download system of
> buidroot
> > for a specific homebrew package.
> >
> > The goal of the package is to download multiple files and install them
> > accordingly.
> > LIBFOO_SITE contains the common part of the download link. For example
> > ftp://myftpserver.mydomain.com/libfoo/.
> >
> > Then I'd like to have a pre-install hook that downloads some specific
> files
> > from that url, for example
> > - ftp://myftpserver.mydomain.com/libfoo/file1.deb
> > - ftp://myftpserver.mydomain.com/libfoo/file2.rpm
> > - ftp://myftpserver.mydomain.com/libfoo/file3.someExtension
> >
> > This all works fine, but the package still tries to fetch
> > ftp://myftpserver.mydomain.com/libfoo/.tar.gz because of the internal
> way
> > of working of buildroot.
> >
> > So how can I overwrite this method or disable it?
>
> Why don't you simply use the <pkg>_EXTRA_DOWNLOADS variable? It allows
> you to download additional files from the same site, which seems to be
> exactly what you're trying to achieve.
>
> LIBFOO_SITE = ftp://myftpserver.mydomain.com/libfoo/
> LIBFOO_SOURCE = <one file>
> LIBFOO_EXTRA_DOWNLOADS = <another file> <yet another file>
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141114/2283781e/attachment-0002.html>


More information about the buildroot mailing list