[dkms] Install SysV init scripts or systemd unit files.

Simone Caronni slaanesh at fedoraproject.org
Wed Sep 24 09:01:10 UTC 2014


commit bdf00804a168abf253a13c7be17d05047a1b6563
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Sep 24 11:00:29 2014 +0200

    Install SysV init scripts or systemd unit files.

 dkms-Makefile.patch |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/dkms-Makefile.patch b/dkms-Makefile.patch
new file mode 100644
index 0000000..e498625
--- /dev/null
+++ b/dkms-Makefile.patch
@@ -0,0 +1,28 @@
+--- dkms-2238e7b8a894162e30831b325337483e1c0ac787/Makefile	2014-09-23 00:26:00.000000000 +0200
++++ dkms/Makefile	2014-09-24 08:56:08.896573529 +0200
+@@ -56,8 +56,16 @@
+ 	# ensure doc file permissions ok
+ 	chmod 0644 $(DOCFILES)
+ 
+-install-redhat: install doc-perms
++install-redhat-sysv: install doc-perms
+ 	mkdir -m 0755 -p  $(INITD)
++	install -p -m 0755 dkms_mkkerneldoth $(LIBDIR)/mkkerneldoth
++	install -p -m 0755 dkms_find-provides $(LIBDIR)/find-provides
++	install -p -m 0755 lsb_release $(LIBDIR)/lsb_release
++	install -p -m 0644 template-dkms-mkrpm.spec $(ETC)
++	install -p -m 0644 template-dkms-redhat-kmod.spec $(ETC)
++	install -p -m 0755 dkms_autoinstaller $(INITD)
++
++install-redhat-systemd: install doc-perms
+ 	mkdir -m 0755 -p  $(SYSTEMD)
+ 	install -p -m 0755 dkms_mkkerneldoth $(LIBDIR)/mkkerneldoth
+ 	install -p -m 0755 dkms_find-provides $(LIBDIR)/find-provides
+@@ -65,7 +73,6 @@
+ 	install -p -m 0644 template-dkms-mkrpm.spec $(ETC)
+ 	install -p -m 0644 template-dkms-redhat-kmod.spec $(ETC)
+ 	install -p -m 0644 dkms.service $(SYSTEMD)
+-	install -p -m 0755 dkms_autoinstaller $(INITD)
+ 
+ install-doc:
+ 	mkdir -m 0755 -p $(DOCDIR)


More information about the scm-commits mailing list