Browse Source

installer: mount /tmp as tmpfs.

Juan RP 11 years ago
parent
commit
f898ef96e3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      installer.sh.in

+ 3 - 0
installer.sh.in

@@ -860,6 +860,9 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
 
     # copy target fstab.
     install -Dm644 $TARGET_FSTAB $TARGETDIR/etc/fstab
+    # Mount /tmp as tmpfs.
+    echo "tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0" >> $TARGETDIR/etc/fstab
+
 
     # set up keymap, locale, timezone, hostname and root passwd.
     set_keymap