View | Details | Raw Unified | Return to bug 36796
Collapse All | Expand All

(-)a/tools/add-ucode (-1 / +1 lines)
Lines 8-14 egrep -qs "^CONFIG_MICROCODE(|_INTEL|_AMD)=[my]" "$KERNEL_CONFIG" || Link Here
8
8
9
IUCODE_BIN=/usr/sbin/iucode_tool
9
IUCODE_BIN=/usr/sbin/iucode_tool
10
10
11
cpu="$(sed -r -n -e '1,/^processor[[:cntrl:]]\:.*/ d' -e '/^model[[:space:]]+[[:cntrl:]]\:.*/,$ d' -e 's/.*[[:cntrl:]]\:[[:space:]](.*)/\1/ip' /proc/cpuinfo)"
11
cpu="$(sed -r -n -e '0,/^processor[[:cntrl:]]\:.*/ d' -e '/^model[[:space:]]+[[:cntrl:]]\:.*/,$ d' -e 's/.*[[:cntrl:]]\:[[:space:]](.*)/\1/ip' /proc/cpuinfo)"
12
cpu_vendor=${cpu_vendor:-}
12
cpu_vendor=${cpu_vendor:-}
13
cpu_family=${cpu_family:-}
13
cpu_family=${cpu_family:-}
14
if [ -n "$cpu" ]; then
14
if [ -n "$cpu" ]; then

Return to bug 36796