X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=input%2Fdoc%2Fschroot.mdwn;h=f052c61ec1337bff961870f5f72b5d2683c9d8de;hb=0721aced26a00ba57591c2f8a9e93a4860d51c40;hp=52bd13a4cc01a40373c65cbf9e702abf9d6ed7cd;hpb=21cabed49507fd529bafec66f7e70ac4dc446078;p=mirror%2Fdsa-wiki.git diff --git a/input/doc/schroot.mdwn b/input/doc/schroot.mdwn index 52bd13a..f052c61 100644 --- a/input/doc/schroot.mdwn +++ b/input/doc/schroot.mdwn @@ -8,7 +8,7 @@ When logging into Debian porterbox machine: $ schroot -l -* Begin a persistent schroot session on Debian unstable: +* Begin a persistent schroot session on Debian unstable (or in the case of backports replace sid with, for example, jessie-backports):
# Pick your own session name:
$ echo -n "Session ID: " && read sessionid && schroot -b -c sid -n $sessionid
@@ -27,12 +27,18 @@ When logging into Debian porterbox machine:
* Install your build dependencies:
- $ dd-schroot-cmd -c $sessionid apt-get build-dep gentoo
+ $ dd-schroot-cmd -c $sessionid apt-get build-dep hello
[..]
Do it for real [Y/n]:
[..]
+* In the case of backports, you can install a given package. You could use, for example:
+
+ $ dd-schroot-cmd -c $sessionid apt-get install debhelper/jessie-backports
+ [..]
+
+
* Change root to Debian unstable chroot:
$ schroot -r -c $sessionid
@@ -40,7 +46,7 @@ When logging into Debian porterbox machine:
* Download your source:
- (sid_arch-dchroot)user@porterbox:~$ apt-get source gentoo
+ (sid_arch-dchroot)user@porterbox:~$ apt-get source hello
* 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:
@@ -50,10 +56,13 @@ When logging into Debian porterbox machine:
$ exit
-* List (your) open sessions:
+* List your currently open sessions:
$ schroot-list-sessions
-or
+
+
+* List all currently open sessions:
+
$ schroot --list --all-sessions