[PATCH olpc-os-builder 11/14] Increase size of /tmp and /var/tmp to make yum work

Sascha Silbe silbe at activitycentral.com
Thu Mar 17 11:21:25 EDT 2011


From: Bernie Innocenti <bernie at codewiz.org>


Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
 modules/base/kspost.10.core.inc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 47f7a86..69d5923 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -1,13 +1,13 @@
 # from the liveuser script
 # and add /ofw
-# and limit tmpfs mounts to 5%
+# and limit tmpfs mount sizes
 cat >> /etc/fstab <<EOF
-/tmp            /tmp            tmpfs         rw,size=50m 0 0
-vartmp          /var/tmp        tmpfs         rw,size=50m 0 0
+/tmp            /tmp            tmpfs         rw,size=150m 0 0
+vartmp          /var/tmp        tmpfs         rw,size=150m 0 0
 varlog          /var/log        tmpfs         rw,size=20m 0 0
 none            /ofw            promfs		  defaults    0 0
 EOF
-sed -i -e '/\/dev\/shm/ s/ defaults / defaults,size=50m /' /etc/fstab
+sed -i -e '/\/dev\/shm/ s/ defaults / defaults,size=150m /' /etc/fstab
 
 mkdir /ofw
 mkdir /bootpart
-- 
1.7.4.1




More information about the Devel mailing list