[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: test-cycle-1 CD's debian-cd diff



Mike Bilow <mikebw@colossus.bilow.com> writes:

> I think there is a kind of endless recursion here.  You need to know
> SIZELIMIT1 in order to "make list," but you don't find out what it should
> be until you "make bootable," which I think requires that you have already
> done "make list."  I can look at this if it is a really important thing,
> but there are a ton of people here who are more familiar with this than I
> am and it would likely be much easier for them.

I'm pretty certain that's not the case, and that this patch sorts the
problem out:

--- debian-cd/xxx/debian-cd/tools/list2cds      Mon May  1 05:59:01 2000
+++ debian-cd/debian-cd/tools/list2cds  Fri May 26 11:21:37 2000
@@ -149,6 +149,10 @@
 close STATUS;
 msg(0, "   Standard system already takes $cd_size bytes on the first CD.\n");
 
+$limit = $deflimit - $cd_size;
+
+msg(0, "   ...  which leaves $limit bytes for the rest of CD #1\n");
+
 # Generate a dependency tree for each package
 msg(0, "-- Generating dependencies tree with apt-cache depends...\n");
 my (@list) = keys %packages;

BTW, what's this all about:

  Use of uninitialized value at /home/phil/debian-cd/debian-cd/tools/cds2src line 144.

Cheers, Phil.



Reply to: