All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] DL_TOOLS_DEPENDENCIES and PRIMARY_SITE
@ 2012-03-02  9:16 Thomas De Schampheleire
  2012-03-02  9:37 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas De Schampheleire @ 2012-03-02  9:16 UTC (permalink / raw)
  To: buildroot

Hi,

Suppose you have a PRIMARY_SITE set for direct retrieval of source
tarballs instead of fetching them from the web, for example because
you want a self-contained buildroot distribution to give to others.

If you select a package that has git/svn/bzr/... as site method, then
the dependencies system will check for the availability of the
git/svn/bzr tools.
In case all tarballs are present on the PRIMARY_SITE, this check is
actually not needed and annoying, because you would have to e.g.
install 'git' even though it will never be used.

For me this is a problem, as the machines on which our builds are made
do not contain tools like git, and it's difficult to update them all.

Some suggested solutions:
1. change support/dependencies/dependencies.sh to output a warning
instead of an error for the DL_TOOLS. If the tool cannot be found when
used, the shell will throw an error.

2. when PRIMARY_SITE is set, don't fill DL_TOOLS at all (so don't
check in support/dependencies), and let the shell handle a missing
tool.

3. Don't check the DL_TOOLS in support/dependencies upfront, but
rather in the DOWNLOAD function when you actually need a certain tool.

I'm looking forward to your ideas about this.

Thanks,
 Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-02 10:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02  9:16 [Buildroot] DL_TOOLS_DEPENDENCIES and PRIMARY_SITE Thomas De Schampheleire
2012-03-02  9:37 ` Thomas Petazzoni
2012-03-02  9:55   ` Will Newton
2012-03-02 10:02   ` Thomas De Schampheleire

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.