Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#451237: debian-cd: list2cds add_package() needs some love

From: Frans Pop <elendil(at)planet.nl>
Date: Wed Nov 14 2007 - 07:11:54 EST


Package: debian-cd
Version: 3.0.3

The log for list2cds currently has for _all_ packages:   Adding <package> to CD 1 ...
I.e. the CD counter never increases. This makes the log somewhat confusing.

Also, the image size increases to infinity:   $cd_size = 17049601950, $size = 76764

The fact that the CD counter is never increased may also have a more serious side effect because packages excluded for CD1 may now never be included again as the following code is not hit any more:

        # Creation of a new CD when needed
        if ($cd_size + $size > $limit) {
		[...]

                # Unexclude packages
                unexclude ($cd);
        }

But maybe there's a different mechanism for that now?

Anyway, some cleanup seems indicated.

-- 
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Nov 14 07:19:15 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:56:23 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library