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.
This commit is contained in:
Anton Hvornum 2021-09-17 23:52:10 +02:00
parent 7be52655c0
commit e21cf77e77
1 changed files with 0 additions and 3 deletions

View File

@ -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')