summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dkms')
-rw-r--r--sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch5
-rw-r--r--sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch16
2 files changed, 12 insertions, 9 deletions
diff --git a/sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch b/sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch
index 7c1e5f11..4f5f8e5d 100644
--- a/sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch
+++ b/sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch
@@ -1,7 +1,7 @@
diff -Nur a/dkms_autoinstaller b/dkms_autoinstaller
--- a/dkms_autoinstaller 2011-07-22 00:06:55.000000000 +0100
-+++ b/dkms_autoinstaller 2016-10-23 12:49:18.363899043 +0100
-@@ -1,52 +1,30 @@
++++ b/dkms_autoinstaller 2016-10-23 16:05:33.751646593 +0100
+@@ -1,52 +1,29 @@
#!/bin/sh
-#
-# dkms_autoinstaller A service to automatically install DKMS modules
@@ -56,7 +56,6 @@ diff -Nur a/dkms_autoinstaller b/dkms_autoinstaller
- *)
- echo "Usage: $0 {start}"
+ start)
-+ einfo "dkms: running auto installation service for kernel $kernel"
+ dkms autoinstall --force --kernelver $kernel
+ ;;
+ status)
diff --git a/sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch b/sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch
index 2c12aca5..4d0230db 100644
--- a/sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch
+++ b/sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch
@@ -1,21 +1,25 @@
diff -Nur a/dkms.service b/dkms.service
--- a/dkms.service 1970-01-01 01:00:00.000000000 +0100
-+++ b/dkms.service 2016-10-23 13:29:05.291059287 +0100
-@@ -0,0 +1,11 @@
++++ b/dkms.service 2016-10-23 16:03:08.368647918 +0100
+@@ -0,0 +1,15 @@
+[Unit]
+Description=DKMS Autoinstall service
-+Before=display-manager.service getty.target
++DefaultDependencies=no
++After=local-fs.target
++Conflicts=shutdown.target
++Before=basic.target shutdown.target
+
+[Service]
-+Type=oneshot
-+RemainAfterExit=true
+ExecStart=/usr/lib/dkms/dkms_autoinstaller start
++Type=oneshot
++TimeoutSec=0
++StandardInput=tty
+
+[Install]
+WantedBy=multi-user.target
diff -Nur a/Makefile b/Makefile
--- a/Makefile 2011-12-07 18:23:51.000000000 +0000
-+++ b/Makefile 2016-10-23 13:41:56.807111082 +0100
++++ b/Makefile 2016-10-23 16:00:10.019649543 +0100
@@ -9,131 +9,45 @@
DIST := unstable
SHELL=bash