about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-07-31 16:17:56 +0200
committerJuan RP <xtraeme@gmail.com>2014-07-31 16:17:56 +0200
commitf898ef96e39685e6d0cb3f39c082d0af0602c5df (patch)
treebb5e1991f5e207a55fee01be3197aa561460b812 /installer.sh.in
parent194c1cdd8956aa4ae23282b62ed6bd6a23e44d57 (diff)
downloadhrmpf-f898ef96e39685e6d0cb3f39c082d0af0602c5df.tar.gz
hrmpf-f898ef96e39685e6d0cb3f39c082d0af0602c5df.tar.xz
hrmpf-f898ef96e39685e6d0cb3f39c082d0af0602c5df.zip
installer: mount /tmp as tmpfs.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 1bd4d26..89cda22 100644
--- a/installer.sh.in
+++ b/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