mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
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>
This commit is contained in:
parent
e98b480212
commit
0d74255b03
@ -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.
|
||||
#
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user