Do not start dkms.service

It doesn't make sense in Qubes to rebuild modules at every VM startup.
Especially when modules dir is either read-only, or on non-persistent
root volume (TemplateBasedVM).
This is especially uneeded for dom0-provided kernels, which already have
u2mfn module built, but DKMS try to rebuild it anyway (and fails,
because of missing/broken kernel-devel package).
DKMS already have appropriate (rpm/dpkg) hooks for new kernel
installation, so actually needed modules should be build in template on
kernel update/install anyway.

This saves about 2s from VM startup time.
This commit is contained in:
Marek Marczykowski-Górecki 2018-04-04 01:50:40 +02:00
parent c525d6213c
commit 76649d875b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -56,6 +56,7 @@ disable smartd.service
disable upower.service
disable colord.service
disable wpa_supplicant@.service
disable dkms.service
# Fedora only services
disable cpuspeed.service