tools/generate_firmware_task: Add LOCALDEBS support

This commit is contained in:
Steve McIntyre 2012-03-05 13:41:01 +00:00
parent f0fab2ac91
commit 9f52089e74
2 changed files with 3 additions and 1 deletions

1
debian/changelog vendored
View File

@ -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.

View File

@ -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";