input/doc: schroot.mdwn: include some bits about backports
authorArturo Borrero Gonzalez <arturo@debian.org>
Thu, 2 Feb 2017 08:41:12 +0000 (09:41 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 2 Feb 2017 10:02:38 +0000 (11:02 +0100)
Include some bits in the documentation about using the schroot system
with backports packages.

Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Peter Palfrader <peter@palfrader.org>
input/doc/schroot.mdwn

index e690a18..f052c61 100644 (file)
@@ -8,7 +8,7 @@ When logging into Debian porterbox machine:
        $ schroot -l
 </code></pre>
 
-* 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):
 <pre><code>
        # Pick your own session name:
        $ echo -n "Session ID: " && read sessionid && schroot -b -c sid -n $sessionid
@@ -33,6 +33,12 @@ When logging into Debian porterbox machine:
        [..]
 </code></pre>
 
+* In the case of backports, you can install a given package. You could use, for example:
+<pre><code>
+       $ dd-schroot-cmd -c $sessionid apt-get install debhelper/jessie-backports
+       [..]
+</code></pre>
+
 * Change root to Debian unstable chroot:
 <pre><code>
        $ schroot -r -c $sessionid