Blacklist framebuffer modules.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 16 Jun 2010 18:18:35 +0000 (20:18 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 16 Jun 2010 18:18:35 +0000 (20:18 +0200)
config/rootfiles/common/linux
lfs/linux

index df6179c..bf979d3 100644 (file)
@@ -3,6 +3,7 @@ boot/System.map-ipfire
 boot/config-KVER-ipfire
 boot/vmlinuz-KVER-ipfire
 boot/vmlinuz-ipfire
+etc/modprobe.d/framebuffer
 #lib/firmware/keyspan/usa19qi.fw
 lib/modules/KVER-ipfire
 #lib/modules/KVER-ipfire/build
index a4bf286..91b2968 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -188,5 +188,12 @@ endif
 #      rm -rvf /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/isdn/mISDN
 #      rm -rvf /lib/modules/$(VER)-$(VERSUFIX)/kernel/drivers/isdn/hardware/mISDN
 
+ifneq "$(XEN)" "1"
+       # Blacklist all 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
+endif
+
        @rm -rf $(DIR_SRC)/patch-o-matic* $(DIR_SRC)/iptables* $(DIR_SRC)/squashfs* $(DIR_SRC)/netfilter-layer7-*
        @$(POSTBUILD)