Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#457 closed enhancement (fixed)

download-target

Reported by: ineiti@… Owned by: nico
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: download only Cc:

Description

As I only have a decent connection in a cyber-café, I was looking for a way to download all packages and do the compiling at home. The goal is to have the possibility to write

make download

Attachments (1)

patch.add.download (2.1 KB) - added by ineiti@… 12 years ago.
adds the "download"-target to the Makefile

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by ineiti@…

adds the "download"-target to the Makefile

comment:1 Changed 12 years ago by anonymous

I use something like this:

--- scripts/download.pl.orig	2006-02-15 01:18:10.000000000 +0100
+++ scripts/download.pl	2006-02-15 01:19:29.000000000 +0100
@@ -2,6 +2,7 @@
 use strict;
 use warnings;
 
+my @LOCAL_SITES = ( "http://my.host/site" );
 my $target = shift @ARGV;
 my $filename = shift @ARGV;
 my $md5sum = shift @ARGV;
@@ -54,7 +55,7 @@
 	unlink "$target/$filename.md5sum";
 }
 
-foreach my $mirror (@ARGV) {
+foreach my $mirror (@LOCAL_SITES, @ARGV) {
 	if ($mirror =~ /^\@SF\/(.+)$/) {
 		my $sfpath = $1;
 		open SF, "wget -t1 -q -O- 'http://prdownloads.sourceforge.net/$sfpath/$filename' |";

I guess there will be an option added to menuconfig.

comment:2 Changed 12 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to assigned

comment:3 Changed 12 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

Works in buildroot-ng

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.