]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/linux
Blacklist framebuffer modules.
[people/pmueller/ipfire-2.x.git] / lfs / linux
index a4bf286c7e65d3f49b227470b3dac514986f9e77..91b2968c939ee7ff66de2b08cfb312ef02fcd615 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)