]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
kernel: disable drm by installing /bin/false
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 3 Dec 2017 06:50:03 +0000 (07:50 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 3 Dec 2017 06:50:03 +0000 (07:50 +0100)
Intel i915 is still loaded even when it was blacklisted

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/linux

index 92f400976ecd9d98e58cb3c331a738b9f28ce11b..e49b8cc7965cdb8ab0a5065af1fd37f46fdfb843 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -231,6 +231,9 @@ ifeq "$(LASTKERNEL)" "1"
        # Only do this once
        cd $(DIR_APP) && install -m 755 usr/gen_init_cpio /sbin/
 
+       # disable drm by install drm to /bin/false because i915 ignore blacklisting
+       echo install drm /bin/false > /etc/modprobe.d/framebuffer.conf
+
        # Blacklist old framebuffer modules
        for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/video/fbdev/ -name *.ko); do \
                echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer.conf ; \