summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomponents/9990-fstab.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/9990-fstab.sh b/components/9990-fstab.sh
index c79aa42..8753327 100755
--- a/components/9990-fstab.sh
+++ b/components/9990-fstab.sh
@@ -25,6 +25,11 @@ Fstab ()
echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab
fi
+ if ! grep -qs "^tmpfs /var/tmp" /root/etc/fstab
+ then
+ echo "tmpfs /var/tmp tmpfs nosuid,nodev,size=25M 0 0" >> /root/etc/fstab
+ fi
+
if [ -z "${NOFASTBOOT}" ]
then
touch root/fastboot