Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-09-17 23:52:10 +0200
committerAnton Hvornum <anton@hvornum.se>2021-09-17 23:52:10 +0200
commite21cf77e77119cc894ab6893a96cfd361106fc15 (patch)
treeec00188f2473ece27007eb665ef4a74245c29d80
parent7be52655c0387ef7e6d29b0d02269f3fdffff93b (diff)
Removing /tmp from fstab
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
-rw-r--r--archinstall/lib/installer.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 62dc933d..2aac8510 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -403,9 +403,6 @@ class Installer:
self.pacstrap(self.base_packages)
self.helper_flags['base-strapped'] = True
- with open(f"{self.target}/etc/fstab", "a") as fstab:
- fstab.write("\ntmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0\n") # Redundant \n at the start? who knows?
-
# TODO: Support locale and timezone
# os.remove(f'{self.target}/etc/localtime')
# sys_command(f'/usr/bin/arch-chroot {self.target} ln -s /usr/share/zoneinfo/{localtime} /etc/localtime')