Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 56cba9fb..c764e8ac 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -120,7 +120,7 @@ class Installer():
with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab:
for line in sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}'):
- fstab.write(f"{line}\n")
+ fstab.write(line + b'\n')
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):
raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n{o}')