index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-12-31 12:33:01 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-12-31 12:33:01 +0100 |
commit | cad911893d653f612c1570ed1bdc7b82df3d9ab8 (patch) | |
tree | 728dc983fa1bcc9198ee19eb8097e30574a3eceb /archinstall | |
parent | c6b499cf47fac7a02714e590cf662a85db3095b1 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 3 | ||||
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index ea0bafc9..7c8f8ea3 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -284,6 +284,9 @@ class SysCommandWorker: except UnicodeDecodeError: return False + with open(f"{storage['LOG_PATH']}/cmd_output.txt", "a") as peak_output_log: + peak_output_log.write(output) + sys.stdout.write(str(output)) sys.stdout.flush() diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 3b2e3bd1..d2d30c85 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -186,7 +186,7 @@ class Installer: for partition in layouts[blockdevice]['partitions']: mountpoints[partition['mountpoint']] = partition - for mountpoint in sorted(mountpoints.keys()): + for mountpoint in sorted([mnt_dest for mnt_dest in mountpoints.keys() if mnt_dest != None]): partition = mountpoints[mountpoint] if partition.get('encrypted', False): |