path: root/Config.in
diff options
authorGravatar Jérôme Pouiller <jezz@sysmic.org>2015-11-18 10:03:25 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-19 23:03:42 +0100
commit4a9d98073ef5a67c938882262d4be745cfce3b69 (patch)
tree0941477b0e1498f198ac304966cc15ea943a4f65 /Config.in
parent6cf1554e715222cdfb1fdc6d478f274b353e62e9 (diff)
pkg-download: support 'file://' in BR2_PRIMARY_SITE
This feature was already discuted here: http://lists.busybox.net/pipermail/buildroot/2015-April/125419.html Personally, I have a big central directory with all tarballs I have ever downloaded. I use this feature to isolate tarballs necessary to build a configuration: make project_defconfig make BR2_DL_DIR=/tmp/mirror-project BR2_PRIMARY_SITE=file:///home/user/dl source tar -C /tmp -czvf mirror-project.tgz mirror-project Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Config.in')
1 files changed, 4 insertions, 2 deletions
diff --git a/Config.in b/Config.in
index d795361148..1809eebd3e 100644
--- a/Config.in
+++ b/Config.in
@@ -165,8 +165,10 @@ config BR2_PRIMARY_SITE
Primary site to download from. If this option is set then buildroot
will try to download package source first from this site and try the
default if the file is not found.
- Valid URIs are URIs recognized by $(WGET) and scp URIs of the form
- scp://[user@]host:path.
+ Valid URIs are:
+ - URIs recognized by $(WGET)
+ - local URIs of the form file://absolutepath
+ - scp URIs of the form scp://[user@]host:path.
bool "Only allow downloads from primary download site"