Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
microcode_ctl
microcode_ctl-1.17-suse_rh_paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File microcode_ctl-1.17-suse_rh_paths.patch of Package microcode_ctl
Index: Makefile =================================================================== --- Makefile.orig 2010-05-29 17:38:49.000000000 +0200 +++ Makefile 2010-05-29 21:42:56.932967000 +0200 @@ -24,34 +24,22 @@ endif DESTDIR = PREFIX = /usr -INSDIR = $(PREFIX)/sbin +INSDIR = /sbin MANDIR = $(PREFIX)/share/man/man8 -MICDIR = /usr/share/misc - -RCFILE = microcode_ctl.start -RCFILEFINAL = microcode_ctl -# this is a bit nasty... -RCDIR = $(shell if [ -d /etc/init.d ]; then echo "/etc"; else echo "/etc/rc.d"; fi) -RCHOMEDIR = init.d -RCFILETO = $(RCDIR)/$(RCHOMEDIR) +MICDIR = /lib/firmware all: microcode_ctl microcode_ctl: microcode_ctl.c $(CC) $(CFLAGS) -o $(PROGRAM) microcode_ctl.c - echo "$(RCDIR)/$(RCHOMEDIR)/microcode_ctl" > microcode-filelist clean: rm -f $(PROGRAM) microcode_ctl.o microcode-filelist install: - $(INS) -s -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR) - -ifndef DESTDIR - chkconfig --add $(RCFILEFINAL) -else - echo "MAKE: Skipping chkconfig operation (rpm build?)" -endif + mkdir -p $(DESTDIR){$(MICDIR),$(INSDIR),$(MANDIR)} + $(INS) -m 644 microcode_ctl.8 $(DESTDIR)$(MANDIR) + $(INS) -m 755 $(PROGRAM) $(DESTDIR)$(INSDIR) device: mkdir -p $(DESTDIR)/dev/cpu Index: microcode_ctl.c =================================================================== --- microcode_ctl.c.orig 2010-05-29 17:38:49.000000000 +0200 +++ microcode_ctl.c 2010-05-29 17:44:47.376445000 +0200 @@ -26,7 +26,7 @@ static int print_error_messages=1; #define FILENAME_MAXLEN 2048 #define MICROCODE_DEVICE_DEFAULT "/dev/cpu/microcode" -#define MICROCODE_FILE_DEFAULT "/usr/share/misc/intel-microcode.dat" +#define MICROCODE_FILE_DEFAULT "/lib/firmware/microcode.dat" static void usage(FILE *file)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor