From 052f95ee56dcc8cb8e815b7dadb2056caf484128 Mon Sep 17 00:00:00 2001 From: doktor5000 Date: Tue, 24 Nov 2015 15:27:51 +0100 Subject: Split out dkms module (re)build from mandrake_everytime The rebuild of the dkms modules should not be triggered by mandrake_everytime which is itself triggered via mandriva-everytime.service, as people might want to disable this service, as harddrake often takes a lot of time to run and hence blocks the boot. This has been split out into a separate script into the dkms package, /usr/sbin/dkms-autorebuild.sh including a systemd service that calls this on every boot and some documentation was added to the script on how to disable the dkms module rebuild. Overall the same should be done for all the other parts of mandrake_everytime to split them out into separate scripts to msec, harddrake and other affected packages after reviewing them to be able to kill mandrake_everytime legacy. mga#17194 --- mandriva/mandrake_everytime | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mandriva/mandrake_everytime b/mandriva/mandrake_everytime index d7fe5795..76ff67e6 100644 --- a/mandriva/mandrake_everytime +++ b/mandriva/mandrake_everytime @@ -23,11 +23,8 @@ fi touch /etc/resolv.conf } -# start module build and hardware detection tools -DKMS_TOOL=/usr/sbin/dkms_autoinstaller -if [ "$DKMS_ONBOOT" != "no" ] && [ -x $DKMS_TOOL ]; then - $DKMS_TOOL start -fi +# start hardware detection tools +# dkms module build has been split out to dkms-autorebuild.service in dkms package HARDDRAKE_TOOL=/usr/share/harddrake/service_harddrake if [ "$HARDDRAKE_ONBOOT" != "no" ] && [ -x $HARDDRAKE_TOOL ]; then -- cgit v1.2.1