aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-09-19 21:02:35 +0000
committerPascal Terjan <pterjan@mageia.org>2012-09-19 21:02:35 +0000
commit0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8 (patch)
treec49e9cc428c531fb8bc882942e9e4aebbb482522 /lib
parentc50bf7b4a8dbdf530673472d50b3f1f3c0ccedb9 (diff)
downloadiurt-0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8.tar
iurt-0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8.tar.gz
iurt-0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8.tar.bz2
iurt-0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8.tar.xz
iurt-0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8.zip
Mount /dev/shm as tmpfs
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index 0f196e0..1e19860 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -88,7 +88,7 @@ sub clean_and_build_chroot {
sudo($config, "--umount", "$chroot/proc");
return;
}
- if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) {
+ if (!sudo($config, '--tmpfs', "$chroot/dev/shm")) {
plog('WARNING', "Failed to mount /dev/shm");
}
if ($run->{icecream}) {