From a60fed7f9f773368c1adcf0f0784972889dd728a Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 14 Oct 2015 18:18:48 +0000 Subject: New config: BUILD_HOME, to be able to set the value of HOME while building. Default it to /nonexistent to prevent builds from writing to /home. This reverts what was done for #170762 Closes: #441052 --- pbuilderrc.5 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pbuilderrc.5') diff --git a/pbuilderrc.5 b/pbuilderrc.5 index 4f7d1f2..3d461b8 100644 --- a/pbuilderrc.5 +++ b/pbuilderrc.5 @@ -440,6 +440,15 @@ or from the host system into the chroot. If the directory specified here exists and contains one of the copied files (without the leading /etc) that file will be copied from here instead of the system one. +.TP +.BI "BUILD_HOME=" "/nonexistent" +Set the what the +.B HOME +environment variable points to during the builds. It defaults to a non-existing +directory to prevent builds from writing to HOME, which is reserved to users. +If you need a working HOME you can set it to +.B $BUILDDIR +instead. .SH "AUTHOR" Initial coding, and main maintenance is done by -- cgit v1.2.3