[Buildroot] [RFC] core: Download all package sources
Yann E. MORIN
yann.morin.1998 at free.fr
Wed Nov 6 22:53:32 UTC 2013
Peter, All,
On 2013-11-06 23:32 +0100, Peter Korsgaard spake thusly:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
>
> > Dear Peter Korsgaard,
> > On Wed, 06 Nov 2013 22:46:11 +0100, Peter Korsgaard wrote:
>
> >> > Signed-off-by: Clayton Shotwell <clshotwe at rockwellcollins.com>
> >>
> >> Sorry, how is this different than make allpackageyesconfig; make source?
>
> > I'd really like allyespackageconfig to be the solution, because I don't
> > really like the idea of dumping all make variables, grepping in there,
> > and using that to download everything.
>
> > However, the big problem with allyespackageconfig is that it doesn't
> > download everything. As soon as you have a "choice" in Config.in (be it
> > for the package version, whether you want full X.org or KDrive X.org,
> > or Busybox init vs. sysvinit vs. systemd), then your
> > allyespackageconfig configuration is only going to contain the packages
> > that correspond to *one* possible choice selection. That leaves a large
> > number of packages that will not be downloaded.
>
> > Same thing for architecture dependent packages: grub depends on i386 or
> > x86-64, but ti-gfx depends on arm.
>
> Yes, and thats the problem I have with keeping sources.buildroot.net
> uptodate. Currently I "work around it" by doing a bunch of randconfig;
> make source and hoping I will sooner or later catch them all.
>
> But does this matter for USERS? I would guess users are only interested
> in a subset of all the packages (E.G. the ones for the arch they use or
> the ones enabled in their .config).
Yes, it does.
Some companies are using a very restrictive firewall, that does not
allow anything but plain http and https (sometime even with MITM), and
no cvs, git, or even ftp...
So, some like to get a computer to another network, do the downloads, and
serve them on the LAN from a mirror.
Sometime, the network is really slow (eg. low BW, or high latency), so
this is also usefull to be able to make a complete mirror.
Of course, that needs resyncing from time to time, but easier done than
coping with a bunch of cursing angry users irrupting in one's office
every now and then! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list