Cope better with source/binary package mismatches

This commit is contained in:
cd-builder user 2008-09-10 21:59:32 +00:00
parent b929ff3866
commit 58a40d32b7
2 changed files with 8 additions and 2 deletions

2
debian/changelog vendored
View File

@ -93,6 +93,8 @@ debian-cd (3.0.5) UNRELEASED; urgency=low
* Add the "-joliet-long" option when making images with Joliet names.
Some packages with ridiculously long names are not unique in the
first 64 characters, so normal Joliet sorting fails.
* Cope better with source/binary package mismatches in
tools/merge_package_lists.
-- Frans Pop <fjp@debian.org> Mon, 04 Aug 2008 18:59:31 +0200

View File

@ -92,8 +92,12 @@ if [ $source = "yes" ] ; then
component=fields[2]
pkg=fields[3]
source=bin2src[pkg]
if ("main-installer" == component) {
printf("# Ignoring source for udeb %s\n", pkg)
if ("" == source) {
if ("main-installer" == component) {
printf("# Ignoring source for udeb %s\n", pkg)
} else {
printf("# Source for pkg %s is UNKNOWN!\n", pkg)
}
} else {
if (!included[source]) {
printf("# Adding source %s at %d because of %s:%s\n",