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

(-)sysutils/devcpu-data/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	data
4
PORTNAME=	data
5
PORTVERSION=	1.14
5
PORTVERSION=	1.14
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	https://downloadmirror.intel.com/27431/eng/:intel \
8
MASTER_SITES=	https://downloadmirror.intel.com/27431/eng/:intel \
9
		LOCAL/sbruno:amd
9
		LOCAL/sbruno:amd
(-)sysutils/devcpu-data/files/microcode_update.in (-2 / +7 lines)
Lines 56-66 microcode_update_start() Link Here
56
		    (echo "Microcode Update Failed." && exit 1)
56
		    (echo "Microcode Update Failed." && exit 1)
57
	done
57
	done
58
	if [ "${microcode_cpus}" = "ALL" ]; then
58
	if [ "${microcode_cpus}" = "ALL" ]; then
59
			${CMT} -e /dev/cpuctl${i} >/dev/null 2>&1
59
                CPUCONTROL_UPDATED=$(cpucontrol -h 2>&1 | grep -q -- -e; echo $?)
60
                if [ ${CPUCONTROL_UPDATED} -ne 0 ]; then
61
                        echo "Please update your system in order to update CPU microcode."
62
                else
63
			${CMT} -e /dev/cpuctl0 >/dev/null 2>&1
60
			if [ $? -ne 0 ]; then
64
			if [ $? -ne 0 ]; then
61
				echo "Re-evalutation of CPU flags Failed."
65
				echo "Re-evalulation of CPU flags Failed."
62
				exit 1
66
				exit 1
63
			fi
67
			fi
68
                fi
64
	fi
69
	fi
65
	echo "Done."
70
	echo "Done."
66
}
71
}

Return to bug 225173