From 0d74255b03b80bf8102d007feb86a941ecc35ed0 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Wed, 29 Jul 2009 15:27:19 +0200 Subject: Redefinde MODULES=most to not carry any fb driver per default. this allows for a much smaller initramfs and thus faster boot. Signed-off-by: maximilian attems --- conf/initramfs.conf | 2 +- hook-functions | 8 -------- initramfs.conf.5 | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/conf/initramfs.conf b/conf/initramfs.conf index a2bd8db..23dd249 100644 --- a/conf/initramfs.conf +++ b/conf/initramfs.conf @@ -8,7 +8,7 @@ # # MODULES: [ most | netboot | dep | list ] # -# most - Add all framebuffer, acpi, filesystem, and harddrive drivers. +# most - Add most filesystem and all harddrive drivers. # # dep - Try and guess which modules to load. # diff --git a/hook-functions b/hook-functions index 6925e4a..03e9723 100644 --- a/hook-functions +++ b/hook-functions @@ -396,13 +396,6 @@ auto_add_modules() manual_add_modules "${x}" done ;; - fb) - for x in i915; do - manual_add_modules "${x}" - done - copy_modules_dir kernel/drivers/video - copy_modules_dir kernel/drivers/char/agp - ;; ide) copy_modules_dir kernel/drivers/ide ;; @@ -444,7 +437,6 @@ auto_add_modules() *) auto_add_modules base auto_add_modules net - auto_add_modules fb auto_add_modules ide auto_add_modules scsi auto_add_modules block diff --git a/initramfs.conf.5 b/initramfs.conf.5 index 6f6ee06..5fa6f87 100644 --- a/initramfs.conf.5 +++ b/initramfs.conf.5 @@ -24,7 +24,7 @@ directly. Specifies the modules for the initramfs image. The default setting is \fImost\fP. -\fImost\fP adds all the framebuffer, acpi, file system, ide, sata, scsi and usb drivers. +\fImost\fP adds most file system, all ide, sata, scsi and usb drivers. \fIdep\fP tries to guess which modules are necessary for the running box. -- cgit v1.2.3