tools/generate_firmware_task: Add LOCALDEBS support
This commit is contained in:
parent
f0fab2ac91
commit
9f52089e74
|
@ -18,6 +18,7 @@ debian-cd (3.1.8) UNRELEASED; urgency=low
|
|||
+ removed releases: etch lenny
|
||||
+ removed unversioned data/sparc and data/yaboot, versioned
|
||||
equivalents are in place already.
|
||||
* tools/generate_firmware_task: Add LOCALDEBS support
|
||||
|
||||
[ Joey Hess ]
|
||||
* Read tasksel's debian-tasks.desc from its new location.
|
||||
|
|
|
@ -24,6 +24,7 @@ my %seen;
|
|||
|
||||
$codename = $ENV{'CODENAME'};
|
||||
$mirror = $ENV{'MIRROR'};
|
||||
$localdebs = $ENV{'LOCALDEBS'};
|
||||
$archlist = shift;
|
||||
$outfile = shift;
|
||||
|
||||
|
@ -33,7 +34,7 @@ if (!defined($codename) || !defined($mirror) ||
|
|||
}
|
||||
|
||||
foreach my $arch (split(' ', $archlist)) {
|
||||
$pkgfiles = "$pkgfiles $mirror/dists/$codename/*/binary-$arch/Packages.gz";
|
||||
$pkgfiles = "$pkgfiles $mirror/dists/$codename/*/binary-$arch/Packages.gz $localdebs/dists/$codename/*/binary-$arch/Packages.gz";
|
||||
}
|
||||
|
||||
open (OUT, "> $outfile") or die "Can't open outfile for writing: $!\n";
|
||||
|
|
Loading…
Reference in New Issue