Sfoglia il codice sorgente

installer: mount /tmp as tmpfs.

Juan RP 11 anni fa
parent
commit
f898ef96e3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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