index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | MTC <MichaelMai2000@users.noreply.github.com> | 2021-12-11 00:10:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 00:10:43 +1100 |
commit | 5a70efe2840f57de300eadacf8df3aa853b6a146 (patch) | |
tree | 80ce7e3a10eed834fc4c9c4ff88746c9ee297517 /archinstall | |
parent | b1b820f4cbf4c6a02a9c4638a1f1887d66dbde9c (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 4b26d979..3b2e3bd1 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -569,7 +569,7 @@ class Installer: root_partition_fs = partition.filesystem root_fs_type = get_mount_fs_type(root_partition_fs) - if boot_partition is None and root_partition is None: + if boot_partition is None or root_partition is None: raise ValueError(f"Could not detect root (/) or boot (/boot) in {self.target} based on: {self.partitions}") self.log(f'Adding bootloader {bootloader} to {boot_partition if boot_partition else root_partition}', level=logging.INFO) |