From 1259b5ea75d6426fd347b9c464dcf49804f9309b Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Sat, 7 Mar 2026 12:55:23 +0800 Subject: [PATCH] Update autocore.patch --- .github/diy/patches/autocore.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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-)" ;;