13 lines
847 B
Diff
13 lines
847 B
Diff
diff -Naur rpm/hwcompatible/compatibility.py oech/hwcompatible/compatibility.py
|
|
--- rpm/hwcompatible/compatibility.py 2024-09-25 15:21:01.000000000 +0800
|
|
+++ oech/hwcompatible/compatibility.py 2024-10-15 08:48:21.768690626 +0800
|
|
@@ -341,6 +341,8 @@
|
|
sort_devices["disk"] = [empty_device]
|
|
if "RAID" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") or \
|
|
("SCSI" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") and
|
|
+ "SHBA" in device.get_property("ID_MODEL_FROM_DATABASE")) or \
|
|
+ ("SCSI" in device.get_property("ID_PCI_SUBCLASS_FROM_DATABASE") and
|
|
"HBA" not in device.get_property("ID_MODEL_FROM_DATABASE")):
|
|
if "raid" in sort_devices.keys():
|
|
sort_devices["raid"].extend([device])
|