From 49a53f852dd351b8807bb4896ff2c9fbbc4ee27b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 10 2020 06:15:18 +0000 Subject: Add sources defined in the spec file --- diff --git a/SPECS/40-usb-blacklist.rules b/SPECS/40-usb-blacklist.rules new file mode 100644 index 0000000..6cce3e6 --- /dev/null +++ b/SPECS/40-usb-blacklist.rules @@ -0,0 +1,14 @@ +# +# Blacklist specific USB devices +# +# don't inquire sn and di on broken devices (https://bugzilla.suse.com/show_bug.cgi?id=840054) + +ACTION!="add|change", GOTO="usb_blacklist_end" +KERNEL!="sd*[!0-9]|sr*", GOTO="usb_blacklist_end" + +# unkown device +ATTRS{idVendor}=="0aec", ATTRS{idProduct}=="3260", ENV{ID_SCSI_INQUIRY}="1" +# Sony/JMicron port replicator +ATTRS{idVendor}=="054c", ATTRS{idProduct}=="06a0", ENV{ID_SCSI_INQUIRY}="1" + +LABEL="usb_blacklist_end" diff --git a/SPECS/59-fc-wwpn-id.rules b/SPECS/59-fc-wwpn-id.rules new file mode 100644 index 0000000..5ad0a5c --- /dev/null +++ b/SPECS/59-fc-wwpn-id.rules @@ -0,0 +1,17 @@ +# +# FC WWPN-based by-path links +# + +ACTION!="add|change", GOTO="fc_wwpn_end" +KERNEL!="sd*", GOTO="fc_wwpn_end" + +ENV{DEVTYPE}=="disk", IMPORT{program}="fc_wwpn_id %p" +ENV{DEVTYPE}=="partition", IMPORT{parent}="FC_*" +ENV{FC_TARGET_WWPN}!="?*", GOTO="fc_wwpn_end" +ENV{FC_INITIATOR_WWPN}!="?*", GOTO="fc_wwpn_end" +ENV{FC_TARGET_LUN}!="?*", GOTO="fc_wwpn_end" + +ENV{DEVTYPE}=="disk", SYMLINK+="disk/by-path/fc-$env{FC_INITIATOR_WWPN}-$env{FC_TARGET_WWPN}-lun-$env{FC_TARGET_LUN}" +ENV{DEVTYPE}=="partition", SYMLINK+="disk/by-path/fc-$env{FC_INITIATOR_WWPN}-$env{FC_TARGET_WWPN}-lun-$env{FC_TARGET_LUN}-part%n" + +LABEL="fc_wwpn_end" diff --git a/SPECS/scsi-rescan.8 b/SPECS/scsi-rescan.8 new file mode 100644 index 0000000..7252653 --- /dev/null +++ b/SPECS/scsi-rescan.8 @@ -0,0 +1 @@ +.so man8/rescan-scsi-bus.sh.8 diff --git a/SPECS/sg3_utils-1.44.tar.xz b/SPECS/sg3_utils-1.44.tar.xz new file mode 100644 index 0000000..7b64f7f Binary files /dev/null and b/SPECS/sg3_utils-1.44.tar.xz differ