index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/general.py | 2 | ||||
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 6abef205..203f5fa9 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -171,7 +171,7 @@ class sys_command():#Thread): while alive and not self.kwargs['emulate']: for fileno, event in poller.poll(0.1): try: - output = os.read(child_fd, 8192).strip() + output = os.read(child_fd, 8192) self.trace_log += output except OSError: alive = False diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 889f72d9..5827078c 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -121,7 +121,7 @@ class Installer(): fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log print(fstab) with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh: - fstab.write(fstab) + fstab_fh.write(fstab) 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}') |