summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-11-15 00:11:14 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-11-15 00:11:14 +0000
commit0ea273ebcadd6093e8823bf9274b220eaa909f99 (patch)
tree3ef1e60b77a1d06895a6f952440de94f33512d34 /abuild.in
parentf7b19c3454c56c25bc13a8ffbbcc544a9337cca7 (diff)
downloadabuild-0ea273ebcadd6093e8823bf9274b220eaa909f99.tar.gz
abuild-0ea273ebcadd6093e8823bf9274b220eaa909f99.tar.bz2
abuild-0ea273ebcadd6093e8823bf9274b220eaa909f99.tar.xz
abuild-0ea273ebcadd6093e8823bf9274b220eaa909f99.zip
rootbld: allow the fake $HOME to be writable
this is needed for running some test runners such as kyua under rootbld.
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index bcf3994..48456a5 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2159,6 +2159,7 @@ rootbld() {
--ro-bind "$BUILD_ROOT" / \
--proc /proc \
--dev-bind /dev /dev \
+ --bind "$BUILD_ROOT/$HOME" "$HOME" \
--ro-bind "$HOME/.abuild" "$HOME/.abuild" \
--ro-bind "$aportsgit" "$aportsgit" \
--bind "$SRCDEST" "$SRCDEST" \