optimize grub modules: pre-load ones that will likely be used

fsdg20230625
Leah Rowe 2021-12-30 06:50:53 +00:00
parent 2701555582
commit 937590d2b1
1 changed files with 71 additions and 71 deletions

View File

@ -1,44 +1,21 @@
# Install modules (installed, but not automatically loaded) # Install modules (installed, but not automatically loaded)
grub_install_modules=" \ grub_install_modules=" \
adler32 \ adler32 \
affs \
afs \
all_video \
archelp \
ata \
backtrace \ backtrace \
bfs \ bfs \
bitmap \
bitmap_scale \
blocklist \
bswap_test \ bswap_test \
cmdline_cat_test \ cmdline_cat_test \
cmp \
cmp_test \ cmp_test \
cpio \
cpio_be \
cpuid \ cpuid \
crc64 \
cs5536 \
ctz_test \ ctz_test \
div \ div \
div_test \ div_test \
dm_nv \ dm_nv \
efiemu \
elf \
eval \
exfat \
exfctest \ exfctest \
extcmd \
f2fs \
file \
fshelp \
functional_test \ functional_test \
gdb \ gdb \
geli \
gettext \ gettext \
gptsync \
gzio \
hashsum \
hello \ hello \
hexdump \ hexdump \
hfs \ hfs \
@ -46,11 +23,6 @@ hfsplus \
hfspluscomp \ hfspluscomp \
http \ http \
jfs \ jfs \
jpeg \
json \
linux16 \
loadenv \
lzopio \
macbless \ macbless \
macho \ macho \
mda_text \ mda_text \
@ -60,19 +32,12 @@ minix2_be \
minix3 \ minix3 \
minix3_be \ minix3_be \
minix_be \ minix_be \
mmap \
morse \ morse \
mpi \ mpi \
msdospart \
mul_test \ mul_test \
multiboot \
multiboot2 \
nativedisk \
net \ net \
newc \ newc \
nilfs2 \ nilfs2 \
ntfs \
ntfscomp \
odc \ odc \
offsetio \ offsetio \
part_acorn \ part_acorn \
@ -82,50 +47,25 @@ part_dvh \
part_plan \ part_plan \
part_sun \ part_sun \
part_sunpc \ part_sunpc \
parttool \
pbkdf2_test \ pbkdf2_test \
play \
png \
priority_queue \
procfs \
progress \
random \
rdmsr \ rdmsr \
read \
reiserfs \ reiserfs \
relocator \
scsi \
search \
search_fs_file \
search_fs_uuid \
search_label \
setjmp \
setjmp_test \ setjmp_test \
setpci \
sfs \
shift_test \ shift_test \
signature_test \ signature_test \
sleep \
sleep_test \ sleep_test \
smbios \
spkmodem \
squash4 \
strtoull_test \ strtoull_test \
tar \
terminfo \
test_blockarg \ test_blockarg \
testload \ testload \
testspeed \ testspeed \
tftp \ tftp \
tga \
time \
tr \
trig \
true \
udf \
ufs1 \ ufs1 \
ufs1_be \ ufs1_be \
ufs2 \ ufs2 \
usbserial_common \
usbserial_ftdi \
usbserial_pl2303 \
usbserial_usbdebug \
usbtest \ usbtest \
video_bochs \ video_bochs \
video_cirrus \ video_cirrus \
@ -137,16 +77,23 @@ wrmsr \
xnu \ xnu \
xnu_uuid \ xnu_uuid \
xnu_uuid_test \ xnu_uuid_test \
xzio \
" "
# Modules (and always loaded) # Modules (and always loaded)
grub_modules=" \ grub_modules=" \
acpi \ acpi \
affs \
afs \
afsplitter \ afsplitter \
ahci \ ahci \
aout \ aout \
at_keyboard \ at_keyboard \
all_video \
archelp \
ata \
bitmap \
bitmap_scale \
blocklist \
boot \ boot \
bsd \ bsd \
btrfs \ btrfs \
@ -158,18 +105,31 @@ cbtime \
chain \ chain \
cmosdump \ cmosdump \
cmostest \ cmostest \
cmp \
configfile \ configfile \
cpio \
cpio_be \
crc64 \
crypto \ crypto \
cryptodisk \ cryptodisk \
cs5536 \
date \ date \
datehook \ datehook \
datetime \ datetime \
disk \ disk \
diskfilter \ diskfilter \
echo \ echo \
efiemu \
ehci \ ehci \
eval \
elf \
extcmd \
exfat \
ext2 \ ext2 \
f2fs \
fat \ fat \
file \
fshelp \
gcry_arcfour \ gcry_arcfour \
gcry_blowfish \ gcry_blowfish \
gcry_camellia \ gcry_camellia \
@ -192,20 +152,26 @@ gcry_sha512 \
gcry_tiger \ gcry_tiger \
gcry_twofish \ gcry_twofish \
gcry_whirlpool \ gcry_whirlpool \
geli \
gfxmenu \ gfxmenu \
gfxterm_background \ gfxterm_background \
gfxterm_menu \ gfxterm_menu \
gptsync \
gzio \
halt \ halt \
hashsum \
hdparm \ hdparm \
help \ help \
iorw \ iorw \
iso9660 \ iso9660 \
json \ json \
jpeg \
json \
keylayouts \ keylayouts \
keystatus \ keystatus \
ldm \ ldm \
linux \ linux \
linux16 \
loadenv \
loopback \ loopback \
ls \ ls \
lsacpi \ lsacpi \
@ -214,18 +180,27 @@ lspci \
luks \ luks \
luks2 \ luks2 \
lvm \ lvm \
lzopio \
mdraid09 \ mdraid09 \
mdraid09_be \ mdraid09_be \
mdraid1x \ mdraid1x \
memdisk \ memdisk \
memrw \ memrw \
minicmd \ minicmd \
mmap \
msdospart \
multiboot \
multiboot2 \
nativedisk \
normal \ normal \
ntfs \
ntfscomp \
ohci \ ohci \
part_bsd \ part_bsd \
part_dfly \ part_dfly \
part_gpt \ part_gpt \
part_msdos \ part_msdos \
parttool \
password \ password \
password_pbkdf2 \ password_pbkdf2 \
pata \ pata \
@ -233,25 +208,50 @@ pbkdf2 \
pci \ pci \
pcidump \ pcidump \
pgp \ pgp \
play \
png \
priority_queue \
probe \ probe \
procfs \
progress \
raid5rec \ raid5rec \
raid6rec \ raid6rec \
random \
read \
reboot \ reboot \
regexp \ regexp \
relocator \
romfs \ romfs \
scsi \
search \
search_fs_file \
search_fs_uuid \
search_label \
serial \ serial \
syslinuxcfg \ syslinuxcfg \
setjmp \
setpci \
sleep \
smbios \
spkmodem \
squash4 \
sfs \
tar \
terminal \ terminal \
terminfo \
test \ test \
time \
tga \
true \
tr \
trig \
udf \
uhci \ uhci \
usb \ usb \
usb_keyboard \ usb_keyboard \
usbms \ usbms \
usbserial_common \
usbserial_ftdi \
usbserial_pl2303 \
usbserial_usbdebug \
xfs \ xfs \
xzio \
zfs \ zfs \
zfscrypt \ zfscrypt \
zfsinfo \ zfsinfo \