From 27a0ad0da4ad58a23c4af537046c17636091a21b Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 22 Sep 2014 14:06:18 +0200 Subject: [PATCH] debian_build.py: Extend schroot debugging instructions. --- debian_build.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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), -- 2.39.5