From e21cf77e77119cc894ab6893a96cfd361106fc15 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 17 Sep 2021 23:52:10 +0200 Subject: 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. --- archinstall/lib/installer.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'archinstall') 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') -- cgit v1.2.3-70-g09d2