]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
drm: Look for DRM drivers in the staging directory 317/head
authorCarlo Caione <carlo@endlessm.com>
Tue, 12 Dec 2017 14:27:18 +0000 (14:27 +0000)
committerHarald Hoyer <harald@redhat.com>
Tue, 12 Dec 2017 15:04:24 +0000 (16:04 +0100)
The recently upstreamed virtualbox video driver (vboxvideo) is shipped
in the staging directory. We need to probe it before Xorg is loaded to
avoid a corrupted X.

In general it is a good practice to look also in the staging directory
for DRM drivers.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
modules.d/50drm/module-setup.sh

index 2014539a752c7d402e72ebb30cc1768198596890..382f51a9c5956e1a86eeb80421ac05e39d4564b3 100755 (executable)
@@ -40,6 +40,6 @@ installkernel() {
             fi
         done
     else
-        dracut_instmods -s "drm_crtc_init" "=drivers/gpu/drm"
+        dracut_instmods -s "drm_crtc_init" "=drivers/gpu/drm" "=drivers/staging"
     fi
 }