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@hvornum.se>2021-04-06 16:31:51 +0000
committerGitHub <noreply@github.com>2021-04-06 16:31:51 +0000
commit3d5dc40dd70c43cbbe4d83c55febc638dcd94e98 (patch)
treebb24a85db36b0d26aab019d79d0cbe9ad0f756de /archinstall
parent27853bf444b2f5c3355be58409106bc5fa1c2c4b (diff)
parentce2ebc0026573f7b4ce4231a8715de512df02c0a (diff)
Merge pull request #156 from rkiyanchuk/fix-undef-vars
Fix undefined variables in installer
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index d80f8aa6..8673bbee 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -98,8 +98,10 @@ class Installer():
self.log('Some required steps were not successfully installed/configured before leaving the installer:', bg='black', fg='red', level=LOG_LEVELS.Warning)
for step in missing_steps:
self.log(f' - {step}', bg='black', fg='red', level=LOG_LEVELS.Warning)
- self.log(f"Detailed error logs can be found at: {log_path}", level=LOG_LEVELS.Warning)
+
+ self.log(f"Detailed error logs can be found at: {storage['LOG_PATH']}", level=LOG_LEVELS.Warning)
self.log(f"Submit this zip file as an issue to https://github.com/archlinux/archinstall/issues", level=LOG_LEVELS.Warning)
+
self.sync_log_to_install_medium()
return False
@@ -149,7 +151,7 @@ class Installer():
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}')
+ raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n{b"".join(fstab)}')
return True