Differences between revisions 12 and 13
Revision 12 as of 2007-03-18 13:58:24
Size: 2189
Editor: RonnyAasen
Comment: exclude files from cd
Revision 13 as of 2007-03-19 11:46:21
Size: 2194
Editor: ?SteffenJoeris
Comment: correct information, so that it works for everybody
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
on a.skolelinux.no in .../src/build/CD-administrator/ do touch force-$SUITE to force a rebuild all developers can force a build by doing an svn commit to the src/build/CD-administrator directory

Any sufficiently advanced technology is indistinguishable from magic...

This is in the very early stage of something which should become a howto to understand the build process of the Debian Edu (install) cd - please help to improve it. I will do so too, on my way to eternal wisdom and happyness :-)

  • tasks comes from debian-edu svn
  • wantedpkglist*.txt is generated from tasks
  • wantedpkglist is given to debian-cd to populate the cd
  • missingpkglist is generated by comparing the list of packages on the CD with the list of wanted packages.

debian-cd

the code for the version of debian-cd we're using is at /home/builder/src/debian-edu/src/build/CD-administrator/debian-cd

During every build it's patched by debian-edu/src/build/CD-administrator/patch-debian-cd with debian-edu/src/build/CD-administrator/debian-cd.patch

If you want to exclude certain packages from the cd, there is a exclude-etch list (also used for etch-test) in that patch.

cd-build logs

the logs from each cd build are commited to svn (debian-edu/html/logs/cd-build-$suite.log). the commits are silent, so no commit-mail is sent.

force re-build

all developers can force a build by doing an svn commit to the src/build/CD-administrator directory

how to exclude packages from the cd

Get the curret status

  1. grab CD-administrator with svn co svn+ssh://$alioth-user-name@svn.debian.org/svn/debian-edu/trunk/src/build/CD-administrator

  2. cd CD-administrator
  3. figure out the current debian-cd revision we use (currently 1372)
  4. svn co -r $revnumber svn://svn.debian.org/debian-cd/trunk debian-cd.unpatched
    • If you get the wrong revision you wont be ablt to apply the patch
  5. patch using ./patch-debian-cd

edit the patch

  1. edit the exlude file with vi debian-cd/tasks/exclude-etch

  2. regenerate the patch with ./make-patch

  3. Test that your patch works with ./patch-debian-cd

  4. commit your changes to the patchfile with svn commit debian-cd.patch

  5. have a beer and wait for the cd to build

famous last words

... and any technology distinguishable from magic is not sufficiently advanced!