using schroot in debian.org porterboxes

When logging into Debian porterbox machine:


    $ schroot -l

    # Pick your own session name:
    $ echo -n "Session ID: " && read sessionid && schroot -b -c sid -n $sessionid
    # or use a random one:
    $ sessionid=$(schroot -b -c sid)

    $ dd-schroot-cmd -c $sessionid apt-get update
    $ dd-schroot-cmd -c $sessionid apt-get dist-upgrade
    [..]
    Do it for real [Y/n]: 
    [..]

    $ dd-schroot-cmd -c $sessionid apt-get build-dep hello
    [..]
    Do it for real [Y/n]: 
    [..]

    $ dd-schroot-cmd -c $sessionid apt-get install debhelper/jessie-backports
    [..]

    $ schroot -r -c $sessionid

    (sid_arch-dchroot)user@porterbox:~$ apt-get source hello

    (sid_arch-dchroot)user@porterbox:~$ exit
    $ schroot -e -c $sessionid
    $ exit

    $ schroot-list-sessions

    $ schroot --list --all-sessions