tools/generate_firmware_task: Add LOCALDEBS support

This commit is contained in:
Steve McIntyre 2012-03-05 13:42:19 +00:00
parent 9f52089e74
commit 4a852eaac6
1 changed files with 7 additions and 1 deletions

View File

@ -34,7 +34,13 @@ if (!defined($codename) || !defined($mirror) ||
}
foreach my $arch (split(' ', $archlist)) {
$pkgfiles = "$pkgfiles $mirror/dists/$codename/*/binary-$arch/Packages.gz $localdebs/dists/$codename/*/binary-$arch/Packages.gz";
$pkgfiles = "$pkgfiles $mirror/dists/$codename/*/binary-$arch/Packages.gz";
}
if defined($localdebs) {
foreach my $arch (split(' ', $archlist)) {
$pkgfiles = "$pkgfiles $localdebs/dists/$codename/*/binary-$arch/Packages.gz";
}
}
open (OUT, "> $outfile") or die "Can't open outfile for writing: $!\n";