grub: remove legacy file system modules

this causes a 6.7% decrease in the payload size

these file systems are microsoft(fat, ntfs) or mostly
oldschool amiga and beos file systems

also remove minix modules, and some old linux file
systems that nobody will use in 2023

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-04 04:14:47 +01:00
parent cf5357856c
commit e659ddd849
-20
View File
@@ -1,20 +1,8 @@
# Install modules (installed, but not automatically loaded)
grub_install_modules=" \
bfs \
hexdump \
hfs \
hfsplus \
jfs \
minix \
minix2 \
minix2_be \
minix3 \
minix3_be \
minix_be \
newc \
nilfs2 \
odc \
reiserfs \
usbserial_common \
usbserial_ftdi \
usbserial_pl2303 \
@@ -26,8 +14,6 @@ xnu \
# Modules (and always loaded)
grub_modules=" \
acpi \
affs \
afs \
ahci \
at_keyboard \
all_video \
@@ -53,10 +39,7 @@ echo \
ehci \
eval \
elf \
exfat \
ext2 \
f2fs \
fat \
gcry_arcfour \
gcry_blowfish \
gcry_camellia \
@@ -114,7 +97,6 @@ multiboot \
multiboot2 \
nativedisk \
normal \
ntfs \
ohci \
part_bsd \
part_dfly \
@@ -133,7 +115,6 @@ raid6rec \
reboot \
regexp \
romfs \
scsi \
search \
search_fs_file \
search_fs_uuid \
@@ -143,7 +124,6 @@ syslinuxcfg \
setpci \
spkmodem \
squash4 \
sfs \
tar \
test \
true \