Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authordemostanis <40673815+demostanis@users.noreply.github.com>2022-05-29 07:34:32 +0000
committerGitHub <noreply@github.com>2022-05-29 09:34:32 +0200
commit7daf9b32d0c32d9fa1ba5aa9750376ad47c6d7e6 (patch)
tree67024342795fc2f563d70b8df28fe591c6059022 /archinstall
parent2de153003ed5de1018639070fabc9c9e583c49d1 (diff)
Fix "Unknown device" error when using erofs (#1232) (#1275)
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py
index 47cc81c4..85c0390f 100644
--- a/archinstall/lib/disk/helpers.py
+++ b/archinstall/lib/disk/helpers.py
@@ -244,7 +244,7 @@ def all_blockdevices(mappers=False, partitions=False, error=False) -> Dict[str,
instances[path] = Partition(path, block_device=BlockDevice(get_parent_of_partition(pathlib.Path(path))))
elif path_info.get('PTTYPE', False) is not False or path_info.get('TYPE') == 'loop':
instances[path] = BlockDevice(path, path_info)
- elif path_info.get('TYPE') == 'squashfs':
+ elif path_info.get('TYPE') in ('squashfs', 'erofs'):
# We can ignore squashfs devices (usually /dev/loop0 on Arch ISO)
continue
else: