X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fdoc%2Fschroot.mdwn;h=b0db69211f6bc03d6b50f6b5b703412d76766055;hb=1ec9fd28b1c76e40b8b4fbcc50f13712157f8a4e;hp=0f284fe122fd5438f2140e82d136e49dbd94a580;hpb=2b5272142a24ef3208488d5fed9e155cd04c11d3;p=mirror%2Fdsa-wiki.git diff --git a/input/doc/schroot.mdwn b/input/doc/schroot.mdwn index 0f284fe..b0db692 100644 --- a/input/doc/schroot.mdwn +++ b/input/doc/schroot.mdwn @@ -1,39 +1,19 @@ using schroot in debian.org porterboxes ======================================= -When logging into Debian porterbox machine, it should display similar message: - -

-Welcome to porterbox.debian.org, the Debian arch porterbox.
-
-See 'schroot -l' for a list of available chroots.  Start new sessions
-with 'schroot --begin-session -c ', run commands in sessions using
-'schroot --run-session -c  [-- command]', and tear down sessions
-using 'schroot --end-session -c '.  You can run a limited set of
-privileged commands, for instance some of apt-get, using
-'dd-schroot-cmd -c  '.
-Use 'schroot --list --all-sessions' or 'schroot-list-sessions []'
-to list (your) open sessions.
-
-This server is hosted at data centre.
-
- -The previous description is rather compact and dense, so let's try to describe the usage in more friendly way. +When logging into Debian porterbox machine: * List available chroots: -

 	$ schroot -l
 
* Begin a persistent schroot session on Debian unstable: -

 	$ schroot -b -c sid -n mysid
 
* Update and upgrade Debian unstable chroot: -

 	$ dd-schroot-cmd -c mysid apt-get update
 	$ dd-schroot-cmd -c mysid apt-get upgrade
@@ -43,7 +23,6 @@ The previous description is rather compact and dense, so let's try to describe t
 
* Install your broken package build dependencies: -

 	$ dd-schroot-cmd -c mysid apt-get build-dep gentoo
 	[..]
@@ -52,23 +31,27 @@ The previous description is rather compact and dense, so let's try to describe t
 
* Change root to Debian unstable chroot: -

 	$ schroot -r -c mysid
 
* Download your broken package source: -

 	(sid_arch-dchroot)user@porterbox:~$ apt-get source gentoo
 
* 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: -

 	(sid_arch-dchroot)user@porterbox:~$ exit
 	$ schroot -e -c mysid
 	$ exit
 
+* List (your) open sessions: +

+	$ schroot --list --all-sessions
+or
+	$ schroot-list-sessions
+
+ * You should be done by now. If you find any issue, please report to debian-admin@lists.debian.org.