etc/sbuild.conf.in: Keep failed build trees for diagnostics.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 Sep 2019 21:35:17 +0000 (22:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 Sep 2019 21:35:17 +0000 (22:35 +0100)
etc/sbuild.conf.in

index dca0027..963f7d4 100644 (file)
@@ -61,6 +61,11 @@ $build_environment = {
 ## Actually resolve alternatives properly.
 $resolve_alternatives = 1;
 
+## Leave debris for diagnostics.
+$purge_build_deps = "successful";
+$purge_build_directory = "successful";
+$purge_session = "successful";
+
 ## Don't do anything clever if the build dependencies fail.  The clever thing
 ## doesn't work on older distributions.  Also, it takes extra time, and
 ## that's not desirable.