1 using schroot in debian.org porterboxes
2 =======================================
4 When logging into Debian porterbox machine:
6 The previous description is rather compact and dense, so let's try to describe the usage in more friendly way.
8 * List available chroots:
13 * Begin a persistent schroot session on Debian unstable:
15 $ schroot -b -c sid -n mysid
18 * Update and upgrade Debian unstable chroot:
20 $ dd-schroot-cmd -c mysid apt-get update
21 $ dd-schroot-cmd -c mysid apt-get upgrade
23 Do it for real [Y/n]: <Enter>
27 * Install your broken package build dependencies:
29 $ dd-schroot-cmd -c mysid apt-get build-dep gentoo
31 Do it for real [Y/n]: <Enter>
35 * Change root to Debian unstable chroot:
40 * Download your broken package source:
42 (sid_arch-dchroot)user@porterbox:~$ apt-get source gentoo
45 * 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:
47 (sid_arch-dchroot)user@porterbox:~$ exit
52 * List (your) open sessions:
54 $ schroot --list --all-sessions
56 $ schroot-list-sessions [<userglob>]
59 * You should be done by now. If you find any issue, please report to debian-admin@lists.debian.org.