diff options
author | maximilian attems <maks@debian.org> | 2009-07-29 15:27:19 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-07-29 15:28:10 +0200 |
commit | 0d74255b03b80bf8102d007feb86a941ecc35ed0 (patch) | |
tree | 68d2193f8e2d274f6f4aa808c1e19d1b63b4e666 | |
parent | e98b48021205f1cc21db96cdcabab909b6db5e86 (diff) | |
download | initramfs-tools-0d74255b03b80bf8102d007feb86a941ecc35ed0.tar.gz initramfs-tools-0d74255b03b80bf8102d007feb86a941ecc35ed0.zip |
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 <maks@debian.org>
-rw-r--r-- | conf/initramfs.conf | 2 | ||||
-rw-r--r-- | hook-functions | 8 | ||||
-rw-r--r-- | 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. |