In list2cds, don't add udebs in the final COMPLETE run - they're no

use there.
This commit is contained in:
Steve McIntyre 2007-04-06 18:23:14 +00:00
parent b695b182c4
commit ab7e1d0171
2 changed files with 11 additions and 2 deletions

5
debian/changelog vendored
View File

@ -1,9 +1,12 @@
debian-cd (3.0.3) UNRELEASED; urgency=high
[ Steve McIntyre ]
* In start_new_disc, cope with $DEBVERSION containing spaces
* Only put the release notes and installation guide on disc#1
* In list2cds, don't add udebs in the final COMPLETE run -
they're no use there
-- Steve McIntyre <93sam@debian.org> Wed, 28 Mar 2007 22:57:41 +0100
debian-cd (3.0.2) unstable; urgency=high

View File

@ -208,7 +208,13 @@ if ($complete) {
foreach my $p (sort { ($packages{lc $a}{"Section"} cmp $packages{lc $b}{"Section"})
|| (lc $a cmp lc $b) }
grep { not ($included{$_} or $excluded{$_}) } keys %packages) {
add_package (lc $p, 0, 0);
# At this point, we should *not* be adding any more udebs,
# as they're no use to anybody.
if ($packages{lc $p}{"IsUdeb"}) {
msg(2, " Ignoring udeb $p ...\n");
} else {
add_package (lc $p, 0, 0);
}
}
}