use right path for microcode.dat
This commit is contained in:
parent
dd2039b55b
commit
5792b92686
@ -17,15 +17,6 @@ ARGUMENTS=-Qu
|
||||
RETVAL=0
|
||||
PROGRAM=/sbin/microcode_ctl
|
||||
|
||||
# Lets just be sure we have a device file...
|
||||
if [ ! -e $DEVICE ]; then
|
||||
echo $"$0: microcode device $DEVICE doesn't exist?"
|
||||
exit 1
|
||||
elif [ ! -c $DEVICE ]; then
|
||||
echo $"$0: $DEVICE not a character device?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -e /etc/firmware/microcode.dat ]; then
|
||||
echo $"$0: microcode datafile not present (/etc/firmware/microcode.dat)"
|
||||
exit 1
|
||||
|
@ -46,3 +46,14 @@
|
||||
fprintf(stderr, "%s: error writing to '%s' errno=%d (%s)\n"
|
||||
"%s: there may be messages from the driver in your system log.\n",
|
||||
|
||||
--- microcode_ctl-1.11/microcode_ctl.c~ 2005-01-21 17:42:53.000000000 -0500
|
||||
+++ microcode_ctl-1.11/microcode_ctl.c 2005-01-21 17:43:03.000000000 -0500
|
||||
@@ -25,7 +25,7 @@ int print_error_messages=1;
|
||||
#define MAX_MICROCODE 2000000
|
||||
|
||||
#define MICROCODE_DEVICE_DEFAULT "/dev/cpu/microcode"
|
||||
-#define MICROCODE_FILE_DEFAULT "/etc/microcode.dat"
|
||||
+#define MICROCODE_FILE_DEFAULT "/etc/firmware/microcode.dat"
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
|
@ -84,6 +84,8 @@ exit 0
|
||||
%changelog
|
||||
* Fri Jan 21 2005 Dave Jones <davej@redhat.com>
|
||||
- Create/remove the /dev/cpu/microcode dev node as needed.
|
||||
- Use correct path again for the microcode.dat.
|
||||
- Remove some no longer needed tests in the init script.
|
||||
|
||||
* Fri Jan 14 2005 Dave Jones <davej@redhat.com>
|
||||
- Only enable microcode_ctl service if the CPU is capable.
|
||||
|
Loading…
Reference in New Issue
Block a user