Re: New debian-cd ?
Le Wed, Jul 07, 1999 at 01:40:41PM +0200, Raphael Hertzog écrivait:
> I plan to work on a new debian-cd script (written in Perl) that will
> allow people to easily build customized CDs (ie to build CD with
> standard + gnome stuff or cd with standard + complete perl development stuff,
> etc.). It could also build complete CD sets of course.
Here's more information after some thougths.
The first important part I'll do is to write a script that automatically
generates the list of packages to be included on each CD. I'll do this
in a simple way.
Everything that is of priority >= standard will always be included
in the first CD (if someone wants to change anything, he can give a new
override file). I'll use this information to create a fake status file
(it will be a replacement of /var/lib/dpkg/status for apt-get). And
from now on we can add package by package on the CD. The script will
launch an apt-get -s install <package> for each package (using the newly
created status file with a bunch of -o options passed to apt-get) in order
to find all the dependencies and to include them. The script will continue
so on until he as filled a CD, then he will start a second CD. Something
similar will be done for the sources.
This way we can create new set of CDs by simply giving an ordered list of
packages we want to have. And we can leave place on the CD by setting a
different size limit to reach before changing CDs (it may well be used
for building ZIP based install and so on).
As soon as I have something to present, I'll make it available of course.
Please comment if you have something to say about this.
PS: The only problem I have so far is that apt-get doesn't take in care
Recommends and Suggests but there must be an option, i'll look into it.
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/