diff --git a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup index 1b10a462..c562f1d9 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup @@ -7,7 +7,7 @@ BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO) # SCRIPT VERSION -HWS_VER=13 +HWS_VER=14 HWS_VER_FILE="/etc/bazzite/hws_version" HWS_VER_RAN=$(cat $HWS_VER_FILE) @@ -76,10 +76,6 @@ echo "Current kargs: $KARGS" if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then echo "Checking for needed karg changes (Jupiter)" - if [[ ! $KARGS =~ "amd_pstate" ]]; then - NEEDED_KARGS+=("--append-if-missing=amd_pstate=active") - fi - if [[ ! $KARGS =~ "amd_iommu" ]]; then NEEDED_KARGS+=("--append-if-missing=amd_iommu=off") fi @@ -93,8 +89,8 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then fi fi - if [[ ! $KARGS =~ "initcall_blacklist" ]]; then - NEEDED_KARGS+=("--append-if-missing=initcall_blacklist=simpledrm_platform_driver_init") + if [[ $KARGS =~ "simpledrm_platform_driver_init" ]]; then + NEEDED_KARGS+=("--delete-if-present=initcall_blacklist=simpledrm_platform_driver_init") fi fi