fix(deck): Block additional AMD watchdog kmod for Steam Deck (#409)

This commit is contained in:
fiftydinar 2023-10-07 00:23:12 +02:00 committed by GitHub
parent edbfd0c1c6
commit 5a0396d82f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
# SCRIPT VERSION
HWS_VER=5
HWS_VER=6
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)
@ -62,6 +62,9 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "nmi_watchdog" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=nmi_watchdog=0"
fi
if [[ ! $KARGS =~ "modprobe.blacklist=sp5100_tco" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=modprobe.blacklist=sp5100_tco"
fi
fi
if grep -qz "Kernel driver in use: radeon" <<< $GPU_ID; then