diff --git a/.github/diy/patches/autocore.patch b/.github/diy/patches/autocore.patch index 2b0e368d..a4cbea5f 100644 --- a/.github/diy/patches/autocore.patch +++ b/.github/diy/patches/autocore.patch @@ -9,9 +9,9 @@ case "$DISTRIB_TARGET" in "x86"/*) -@@ -45,6 +45,7 @@ case "$DISTRIB_TARGET" in +@@ -43,6 +43,7 @@ case "$DISTRIB_TARGET" in elif grep -q "AuthenticAMD" "/proc/cpuinfo"; then - cpu_temp="$(sensors "k*temp-*" 2>"/dev/null" | awk '/Tdie/ {print $2}' | head -n1 | tr -d "+")" + cpu_temp="$(sensors "k10temp-*" 2>"/dev/null" | awk '/Tctl|Tdie/ {print $2}' | head -n1 | tr -d "+")" fi + [ -n "${cpu_temp}" ] || cpu_temp="$(sensors 2>/dev/null | grep 'Core 0' | cut -c12-)" ;;