Setting up a buildd for debug.debian.net
Mole setup:
Make sure Mole is maintaining a TODO list for your architecture. (Check http://qa.debian.org/cgi-bin/mole/dbgsym/.todo)
- If not, edit mole/etc/db_parameters.py in the QA svn tree, and submit a meta_parameters Mole item.
- Get a Mole upload key in to qa.debian.org:/home/qa/.ssh/authorized_keys (or use your account)
debug.debian.net setup:
- Get your architecture supported:
- vi etc/distributions
- sudo -u debug -H ./reprepro.sh includedeb sid html/debian/pool/main/p/pkg-create-dbgsym/pkg-create-dbgsym_0.26+debian11_all.deb
- (sudo -u debug -H ./reprepro.sh export)
Host system setup:
- apt-get install build-essential cowdancer devscripts dput libwww-perl openssh-client rsync timelimit
timelimit >= 1.1-3.1 (source is in QA svn mole/worker/timelimit-1.1)
- Add deb-src line to sources.list
- cd /org/debug.debian.net ; svn co svn://svn.debian.org/svn/qa/trunk/mole/worker
- mkdir /org/debug.debian.net/bin
lrwxrwxrwx 1 myon myon 30 2009-02-09 23:31 dbgsym-worker -> ../worker/dbgsym/dbgsym-worker* lrwxrwxrwx 1 myon myon 27 2009-02-10 01:00 dput-debug -> ../worker/dbgsym/dput-debug* lrwxrwxrwx 1 myon myon 16 2009-02-09 23:24 molecd -> ../worker/molecd* lrwxrwxrwx 1 myon myon 36 2009-02-09 23:25 purge-debug-changes -> ../worker/dbgsym/purge-debug-changes* lrwxrwxrwx 1 myon myon 17 2009-02-09 23:24 requeue -> ../worker/requeue* -rwxrwxr-x 1 myon myon 11333 2009-02-09 23:06 timelimit* lrwxrwxrwx 1 myon myon 30 2009-02-09 23:24 validate-ddeb -> ../worker/dbgsym/validate-ddeb* lrwxrwxrwx 1 myon myon 39 2009-02-09 23:24 validate-debug-changes -> ../worker/dbgsym/validate-debug-changes*
- mkdir build todo todo/debian-etch-sparc
- crontab -e
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/org/debug.debian.net/bin */10 * * * * ARCHIVE=debian DIST=etch molecd /org/debug.debian.net/worker/dbgsym/dbgsym.conf
Chroot setup:
- sudo cowbuilder --create --distribution etch --basepath /org/debug.debian.net/etch.cow
chroot# echo etch > /etc/debian_chroot
chroot# wget -O - http://debug.debian.net/D23D586156FACB5A.asc | apt-key add -
- chroot# vi /etc/apt/sources.list
deb http://debug.debian.net/debian sid main # always sid here!
deb http://debug.debian.net/debian etch/debug main
- chroot# apt-get update ; apt-get install debhelper devscripts fakeroot pkg-create-dbgsym
devscripts >= lenny (for dch --bin-nmu)