index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-07 07:22:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 07:22:46 +0000 |
commit | 1d60e307e81a99ebd6cbfe26a92e5dfa96a8870a (patch) | |
tree | aa1f97a8c96e265810e3a13ec8c2dea7305d5756 | |
parent | e103f2bc02aa090141d844894e36af6ec2a9a77b (diff) | |
parent | 275e60e1ddb5da281aab394492c68bed8d5abdcb (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 8673bbee..1d277bc6 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -147,7 +147,7 @@ class Installer(): self.log(f"Updating {self.mountpoint}/etc/fstab", level=LOG_LEVELS.Info) fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log - with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh: + with open(f"{self.mountpoint}/etc/fstab", 'ab',newline='\n') as fstab_fh: fstab_fh.write(fstab) if not os.path.isfile(f'{self.mountpoint}/etc/fstab'): |