diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 12:27:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 12:27:40 +0100 |
commit | 95cc91a8e2f55db5432e88a3c49cc11df836aed1 (patch) | |
tree | 4a242430e7eedabb8d1650e0c80ae4921707cc7a /sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch | |
parent | 5075bf447b7a6bf529fd6c81671c8e9e172d04f2 (diff) |
sys-kernel/dkms : new version v2.3, fix upstream provided systemd.service, add openrc support, don't mess with config files
Diffstat (limited to 'sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch')
-rw-r--r-- | sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch b/sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch new file mode 100644 index 00000000..fe99ed25 --- /dev/null +++ b/sys-kernel/dkms/files/dkms-2.3-systemd-service-fix.patch @@ -0,0 +1,23 @@ +diff -Nur a/dkms.service b/dkms.service +--- a/dkms.service 2016-08-31 18:23:47.000000000 +0100 ++++ b/dkms.service 2017-05-21 11:52:28.087487858 +0100 +@@ -1,11 +1,15 @@ + [Unit] +-Description=Builds and install new kernel modules through DKMS +-Documentation=man:dkms(8) ++Description=DKMS Autoinstall service ++DefaultDependencies=no ++After=local-fs.target ++Conflicts=shutdown.target ++Before=basic.target shutdown.target + + [Service] ++ExecStart=/usr/lib/dkms/dkms_autoinstaller start + Type=oneshot +-RemainAfterExit=true +-ExecStart=/bin/sh -c 'dkms autoinstall --verbose --kernelver $(uname -r)' ++TimeoutSec=0 ++StandardInput=tty + + [Install] + WantedBy=multi-user.target |