From: Arne Fitzenreiter Date: Sun, 3 Dec 2017 06:50:03 +0000 (+0100) Subject: kernel: disable drm by installing /bin/false X-Git-Tag: v2.21-core122~178^2~82 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=050479e93e183f4c8ff2aa2069abf4d653be71d3 kernel: disable drm by installing /bin/false Intel i915 is still loaded even when it was blacklisted Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/linux b/lfs/linux index 92f400976e..e49b8cc796 100644 --- 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 ; \