Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 20:21:47 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 20:21:47 +0100
commit5e62b409b4ff72b154f3a1bb1ca00c7fb6475f67 (patch)
tree1dabae52cbb4f914f2fdf076c2e922b60f8eccdf /archinstall
parent0de302c47dfde75f8a4967c03f7757e3ad86ee39 (diff)
Type mismatch in genfstab()
Diffstat (limited to 'archinstall')
-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}')