[Piuparts-commits] [piuparts] 04/07: p: mount a 64 MB tmpfs onto /dev/shm in the chroot
Holger Levsen
holger at moszumanska.debian.org
Mon Nov 2 17:19:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit a288baebf18975ed8bb67d6c47f368d4e0173295
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Nov 2 17:39:47 2015 +0100
p: mount a 64 MB tmpfs onto /dev/shm in the chroot
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
debian/changelog | 1 +
piuparts.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8eaccc6..ad3a05f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ piuparts (0.68) UNRELEASED; urgency=medium
[ Andreas Beckmann ]
* piuparts.py:
- Simplify mounting/unmounting into the chroot.
+ - Mount a 64 MB tmpfs onto /dev/shm in the chroot. (Closes: #793487)
-- Holger Levsen <holger at debian.org> Sat, 17 Oct 2015 16:42:39 +0200
diff --git a/piuparts.py b/piuparts.py
index 8f5fa0a..4ae2928 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1558,6 +1558,7 @@ class Chroot:
if not os.path.lexists(etcmtab):
os.symlink("../proc/mounts", etcmtab)
self.mount("devpts", "/dev/pts", fstype="devpts")
+ self.mount("tmpfs", "/dev/shm", fstype="tmpfs", opts="size=65536k")
if selinux_enabled():
self.mount("/sys/fs/selinux", self.selinuxfs_path(), opts="bind,ro")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list