Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/device_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk/device_handler.py')
-rw-r--r--archinstall/lib/disk/device_handler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/disk/device_handler.py b/archinstall/lib/disk/device_handler.py
index 2c88e382..9acf0999 100644
--- a/archinstall/lib/disk/device_handler.py
+++ b/archinstall/lib/disk/device_handler.py
@@ -45,6 +45,9 @@ class DeviceHandler(object):
block_devices = {}
for device in getAllDevices():
+ if get_lsblk_info(device.path).type == 'rom':
+ continue
+
try:
disk = Disk(device)
except DiskLabelException as err: