1 using schroot in debian.org porterboxes
2 =======================================
4 When logging into Debian porterbox machine, it should display similar message:
6 Welcome to porterbox.debian.org, the Debian arch porterbox.
8 See 'schroot -l' for a list of available chroots. Start new sessions
9 with 'schroot --begin-session -c <chroot>', run commands in sessions using
10 'schroot --run-session -c <session> [-- command]', and tear down sessions
11 using 'schroot --end-session -c <session>'. You can run a limited set of
12 privileged commands, for instance some of apt-get, using
13 'dd-schroot-cmd -c <session> <command>'.
14 Use 'schroot --list --all-sessions' or 'schroot-list-sessions [<userglob>]'
15 to list (your) open sessions.
17 This server is hosted at data centre.
20 The previous description is rather compact and dense, so let's try to describe the usage in more friendly way.
22 * List available chroots:
27 * Begin a persistent schroot session on Debian unstable:
29 $ schroot -b -c sid -n mysid
32 * Update and upgrade Debian unstable chroot:
34 $ dd-schroot-cmd -c mysid apt-get update
35 $ dd-schroot-cmd -c mysid apt-get upgrade
37 Do it for real [Y/n]: <Enter>
41 * Install your broken package build dependencies:
43 $ dd-schroot-cmd -c mysid apt-get build-dep gentoo
45 Do it for real [Y/n]: <Enter>
49 * Change root to Debian unstable chroot:
54 * Download your broken package source:
56 (sid_arch-dchroot)user@porterbox:~$ apt-get source gentoo
59 * 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:
61 (sid_arch-dchroot)user@porterbox:~$ exit
66 * You should be done by now. If you find any issue, please report to debian-admin@lists.debian.org.