aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc.5
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-10-14 18:18:48 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-10-14 18:18:48 +0000
commita60fed7f9f773368c1adcf0f0784972889dd728a (patch)
treecf575dd7e5be85f58170bb22b61703f6e8c31b50 /pbuilderrc.5
parent61d23e0476aa25b9098d01aa86db95e9170cc948 (diff)
downloadpbuilder-a60fed7f9f773368c1adcf0f0784972889dd728a.tar
pbuilder-a60fed7f9f773368c1adcf0f0784972889dd728a.tar.gz
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
Diffstat (limited to 'pbuilderrc.5')
-rw-r--r--pbuilderrc.59
1 files changed, 9 insertions, 0 deletions
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