diff options
author | doktor5000 <doktor5000@arcor.de> | 2015-11-24 15:27:51 +0100 |
---|---|---|
committer | doktor5000 <doktor5000@mageia.org> | 2015-11-24 16:08:15 +0100 |
commit | 052f95ee56dcc8cb8e815b7dadb2056caf484128 (patch) | |
tree | 0908028b8ae0612150d92a5d6917c608328155b6 /mandriva/mandrake_everytime | |
parent | 8296e4b8b597ccd3f197c9fa489003d97951b6e9 (diff) | |
download | initscripts-052f95ee56dcc8cb8e815b7dadb2056caf484128.tar initscripts-052f95ee56dcc8cb8e815b7dadb2056caf484128.tar.gz initscripts-052f95ee56dcc8cb8e815b7dadb2056caf484128.tar.bz2 initscripts-052f95ee56dcc8cb8e815b7dadb2056caf484128.tar.xz initscripts-052f95ee56dcc8cb8e815b7dadb2056caf484128.zip |
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
Diffstat (limited to 'mandriva/mandrake_everytime')
-rw-r--r-- | mandriva/mandrake_everytime | 7 |
1 files 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 |