diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-23 16:08:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-23 16:08:33 +0100 |
commit | eacff4617871621295c77bf8e4d35c16919f3adc (patch) | |
tree | a856a7306817c52273c49f93ec28818c2f2a7cf1 /sys-kernel/dkms/files | |
parent | 7c60b7a3216bd199cbffa15e540a7e2417581647 (diff) |
fix systemd unit file
Diffstat (limited to 'sys-kernel/dkms/files')
-rw-r--r-- | sys-kernel/dkms/files/dkms-2.2.0.3-gentoo-functions.patch | 5 | ||||
-rw-r--r-- | sys-kernel/dkms/files/dkms-2.2.0.3-kogaion-systemd.patch | 16 |
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 |