]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build.py: Extend debugging instructions with schroot commands.
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 10:33:36 +0000 (12:33 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 10:33:36 +0000 (12:33 +0200)
debian_build.py

index f723bce29f0556cf590e2383d4c95a1faa07ddfd..706394ae64c655fdad15b03f7f513b4584e334d8 100755 (executable)
@@ -697,6 +697,14 @@ def main():
 cd {jenkins_workspace}
 {command}
 
+###  To change into the chroot, execute this command with <session-name> replaced:
+
+schroot -r -c session:<session-name>
+
+###  Don't forget to remove the chroot at the end:
+
+schroot -e -c session:<session-name>
+
 ###  Note: sbuild builds the Debian binary packages from the corresponding Debian source,
 ###  installing any missing source dependencies. The build takes place in a dedicated
 ###  clean build environment (chroot), rather than on the host system. If the build