Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-03 15:11:10 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-03 15:11:10 +0200
commit1c3287bc813d0652bc671c120c52b99a368e31fe (patch)
tree18300119e8320111d5642fa70792582d5fbee00b
parent67bb00c655cbe85e740a9d7e8b233dd4d69a79e2 (diff)
Removed a breaking change while fixing hardware raids
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 95418ab1..371bf7f5 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -85,8 +85,6 @@ class BlockDevice():
if 'pkname' not in self.info:
raise DiskError(f'A crypt device ({self.path}) without a parent kernel device name.')
return f"/dev/{self.info['pkname']}"
- else:
- raise DiskError(f"Could not locate actual block device path for {self.path}")
# if not stat.S_ISBLK(os.stat(full_path).st_mode):
# raise DiskError(f'Selected disk "{full_path}" is not a block device.')