From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] core: Download all package sources
Date: Wed, 06 Nov 2013 22:46:11 +0100 [thread overview]
Message-ID: <87eh6tkxuk.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1383587286-18094-1-git-send-email-clshotwe@rockwellcollins.com> (Clayton Shotwell's message of "Mon, 4 Nov 2013 09:48:06 -0800")
>>>>> "Clayton" == Clayton Shotwell <clshotwe@rockwellcollins.com> writes:
> Everyone,
> This is an RFC for a new make option to download all package
> sources to aid developers who cannot freely download packages.
> This includes limited internet access or restrictive firewalls.
> This is a best effort download. Any errors in downloading are
> ignored rather than causing a failure.
> The main changes in this patch is the addition of an "allsource"
> make option that pulls down all of the package sources if a
> version string is found. The version check is required because
> packages that do not have a default version cause a invalid file
> download attempt. I had to abstract the download steps from
> pkg-generic.mk so they are callable by both the main Makefile
> and the pkg-generic.mk download step.
> Implementation details:
> 1) The allsource command filters the make .VARIABLES for all
> "*_TARGET_SOURCE" and then strips off the "_TARGET_SOURCE"
> to get the package name. This results in a list of all
> of the packages that can be downloaded.
> 2) The newly created PKG_DOWNLOAD define is called on all of
> the package names to download the source. This call does
> not cause the allsource command to fail if there is an
> error. This is only a best effort call.
> 3) All of the sources are downloaded to the BR2_DL_DIR folder.
> Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Sorry, how is this different than make allpackageyesconfig; make source?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-11-06 21:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 17:48 [Buildroot] [RFC] core: Download all package sources Clayton Shotwell
2013-11-06 21:46 ` Peter Korsgaard [this message]
2013-11-06 22:10 ` Thomas Petazzoni
2013-11-06 22:31 ` clshotwe at rockwellcollins.com
2013-11-06 22:33 ` Peter Korsgaard
2013-11-06 22:37 ` clshotwe at rockwellcollins.com
2013-11-06 22:42 ` Peter Korsgaard
2013-11-06 23:08 ` clshotwe at rockwellcollins.com
2013-11-06 22:32 ` Peter Korsgaard
2013-11-06 22:53 ` Yann E. MORIN
2013-11-06 23:07 ` Peter Korsgaard
2013-11-06 23:14 ` clshotwe at rockwellcollins.com
2013-11-06 23:29 ` Peter Korsgaard
2013-11-07 14:02 ` Jeremy Rosen
2013-11-08 8:37 ` Peter Korsgaard
2013-11-08 18:35 ` Thomas De Schampheleire
2013-11-08 20:11 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eh6tkxuk.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox