From aa1dd87807c51d381351a24d84137f99f5cb0b90 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 17 Jun 2010 00:08:22 +0200 Subject: [PATCH 1/1] Blacklist als new drm framebuffer modules. --- lfs/linux | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lfs/linux b/lfs/linux index 91b2968c93..34bddd8bc9 100644 --- a/lfs/linux +++ b/lfs/linux @@ -189,10 +189,15 @@ endif # rm -rvf /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/isdn/hardware/mISDN ifneq "$(XEN)" "1" - # Blacklist all framebuffer modules + # Blacklist old framebuffer modules for f in $$(find /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/video -name *fb.ko); do \ echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer ; \ done + # Blacklist new drm framebuffer modules + for f in $$(ls -1 /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/gpu/drm/*/*.ko); do \ + echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/framebuffer ; \ + done + endif @rm -rf $(DIR_SRC)/patch-o-matic* $(DIR_SRC)/iptables* $(DIR_SRC)/squashfs* $(DIR_SRC)/netfilter-layer7-* -- 2.39.2