1 using schroot in debian.org porterboxes
2 =======================================
4 When logging into Debian porterbox machine:
6 * List available chroots:
11 * Begin a persistent schroot session on Debian unstable:
13 # Pick your own session name:
14 $ echo -n "Session ID: " && read sessionid && schroot -b -c sid -n $sessionid
15 # or use a random one:
16 $ sessionid=$(schroot -b -c sid)
19 * Update and upgrade Debian unstable chroot:
21 $ dd-schroot-cmd -c $sessionid apt-get update
22 $ dd-schroot-cmd -c $sessionid apt-get upgrade
24 Do it for real [Y/n]: <Enter>
28 * Install your build dependencies:
30 $ dd-schroot-cmd -c $sessionid apt-get build-dep hello
32 Do it for real [Y/n]: <Enter>
36 * Change root to Debian unstable chroot:
38 $ schroot -r -c $sessionid
41 * Download your source:
43 (sid_arch-dchroot)user@porterbox:~$ apt-get source hello
46 * You should be able to reproduce your issue, hack on the package, fix the bug. Once you are done with your work, please, finish your schroot session:
48 (sid_arch-dchroot)user@porterbox:~$ exit
49 $ schroot -e -c $sessionid
53 * List (your) open sessions:
55 $ schroot-list-sessions
57 $ schroot --list --all-sessions
60 * You should be done by now. If you find any issue, please report to debian-admin@lists.debian.org.