Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2006-12-16 15:10:08
Size: 1257
Editor: HolgerLevsen
Comment:
Revision 12 as of 2007-03-18 13:58:24
Size: 2189
Editor: RonnyAasen
Comment: exclude files from cd
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 
Line 23: Line 23:
= force re-build =

on a.skolelinux.no in .../src/build/CD-administrator/ do touch force-$SUITE to force a rebuild

= 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`
 1. cd CD-administrator
 1. figure out the current debian-cd revision we use (currently 1372)
 1. 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
 1. patch using `./patch-debian-cd`
 
== edit the patch ==
 1. edit the exlude file with `vi debian-cd/tasks/exclude-etch`
 1. regenerate the patch with `./make-patch`
 1. Test that your patch works with `./patch-debian-cd`
 1. commit your changes to the patchfile with `svn commit debian-cd.patch`
 1. have a beer and wait for the cd to build

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

on a.skolelinux.no in .../src/build/CD-administrator/ do touch force-$SUITE to force a rebuild

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!