Type mismatch in genfstab()
This commit is contained in:
parent
0de302c47d
commit
5e62b409b4
|
|
@ -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}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue