FreeBSD Bugzilla – Attachment 189751 Details for
Bug 225173
sysutils/devcpu-data broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to update rc script
devcpu-data.diff (text/plain), 1.27 KB, created by
Steve Wills
on 2018-01-15 16:11:53 UTC
(
hide
)
Description:
patch to update rc script
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2018-01-15 16:11:53 UTC
Size:
1.27 KB
patch
obsolete
>diff --git sysutils/devcpu-data/Makefile sysutils/devcpu-data/Makefile >index 327ecfcb1dc0..126e21b5ce89 100644 >--- sysutils/devcpu-data/Makefile >+++ sysutils/devcpu-data/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= data > PORTVERSION= 1.14 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > MASTER_SITES= https://downloadmirror.intel.com/27431/eng/:intel \ > LOCAL/sbruno:amd >diff --git sysutils/devcpu-data/files/microcode_update.in sysutils/devcpu-data/files/microcode_update.in >index 91a5fca0730c..8b8f741159cf 100644 >--- sysutils/devcpu-data/files/microcode_update.in >+++ sysutils/devcpu-data/files/microcode_update.in >@@ -56,11 +56,16 @@ microcode_update_start() > (echo "Microcode Update Failed." && exit 1) > done > if [ "${microcode_cpus}" = "ALL" ]; then >- ${CMT} -e /dev/cpuctl${i} >/dev/null 2>&1 >+ CPUCONTROL_UPDATED=$(cpucontrol -h 2>&1 | grep -q -- -e; echo $?) >+ if [ ${CPUCONTROL_UPDATED} -ne 0 ]; then >+ echo "Please update your system in order to update CPU microcode." >+ else >+ ${CMT} -e /dev/cpuctl0 >/dev/null 2>&1 > if [ $? -ne 0 ]; then >- echo "Re-evalutation of CPU flags Failed." >+ echo "Re-evalulation of CPU flags Failed." > exit 1 > fi >+ fi > fi > echo "Done." > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225173
: 189751
Working