boot: blacklist scsi_tramsport_sas

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-04-15 17:44:28 +02:00
parent 46b6192656
commit ae19bd0d71

View File

@@ -155,6 +155,11 @@ if [ "$(readModelKey "${MODEL}" "dt")" = "true" ] && ! echo "epyc7002 purley bro
CMDLINE['modprobe.blacklist']+="mpt3sas"
fi
if ! echo "broadwell broadwellnk" | grep -wq "$(readModelKey "${MODEL}" "platform")"; then
[ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+=","
CMDLINE['modprobe.blacklist']+="scsi_transport_sas"
fi
# Read cmdline
while IFS=': ' read -r KEY VALUE; do
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"