From: Benjamin Drung Date: Mon, 22 Sep 2014 12:06:18 +0000 (+0200) Subject: debian_build.py: Extend schroot debugging instructions. X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=27a0ad0da4ad58a23c4af537046c17636091a21b;p=profitbricks%2Fjenkins-build-scripts.git debian_build.py: Extend schroot debugging instructions. --- diff --git a/debian_build.py b/debian_build.py index 706394a..b33b2b3 100755 --- a/debian_build.py +++ b/debian_build.py @@ -697,9 +697,9 @@ def main(): cd {jenkins_workspace} {command} -### To change into the chroot, execute this command with replaced: +### To change into the chroot, execute this command with $session and $hash replaced: -schroot -r -c session: +schroot -r -c session:$session -d /build/{package}-$hash/{package}-{upstream_version} ### Don't forget to remove the chroot at the end: @@ -712,6 +712,8 @@ schroot -e -c session: ### access the chroot with the schroot command. Please make sure to remove the chroot ### after you are done. '''.format(hostname=socket.gethostname(), + package=changelog.package, + upstream_version=changelog.upstream_version, jenkins_user=ENV['USER'], jenkins_workspace=os.path.abspath(builder.dsc_dir), command=' '.join(escape_arg(arg) for arg in builder.debug_command),