[pbuilder] 02/02: fixup! dragons, broken
Mattia Rizzolo
mattia at debian.org
Sat Jan 14 15:09:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch wip/shm
in repository pbuilder.
commit 6796846c026a80e750b49c9ba196dbc9735aba95
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Jan 14 16:09:37 2017 +0100
fixup! dragons, broken
---
pbuilder-modules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pbuilder-modules b/pbuilder-modules
index 657c360..cf88f0c 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -364,6 +364,9 @@ function mountproc () {
log.i "creating /{dev,run}/shm"
rm -df "$BUILDPLACE/dev/shm" "$BUILDPLACE/run/shm"
mkdir -p "$BUILDPLACE/dev/shm"
+ chmod 777 "$BUILDPLACE/dev/shm"
+ # old releases might not have /run. We create it nonetheless, can't harm
+ mkdir -p "$BUILDPLACE/run"
ln -s /dev/shm "$BUILDPLACE/run/shm"
mount -t tmpfs tmpfs "$BUILDPLACE/dev/shm"
mounted[${#mounted[@]}]="$BUILDPLACE/dev/shm"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list