[Buildroot] [PATCH] pkg-download: support file:// in BR2_PRIMARY_SITE

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 17 16:55:58 UTC 2015


Dear Jérôme Pouiller,

On Tue, 17 Nov 2015 17:07:58 +0100, Jérôme Pouiller wrote:
> 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

You have a much simpler option:

	make external-deps

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list