[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/20] GRUB: Use reduced set of modules
|
From: |
Leah Rowe |
|
Subject: |
[PATCH 06/20] GRUB: Use reduced set of modules |
|
Date: |
Sun, 14 Jan 2024 15:55:23 +0000 |
From: Leah Rowe <leah@libreboot.org>
This imports modules.list from lbmk at revision:
09bed9a4c3257dbf9b4d59975db0071472ed67eb
This also contains the argon2 module, added in the
previous patch, but it removes a lot of modules that
are never used on coreboot-based setups like GNU Boot;
legacy file systems that nobody ever uses these days,
and various debug modules that are also not needed.
Signed-off-by: Leah Rowe <leah@libreboot.org>
---
resources/grub/modules.list | 124 +++---------------------------------
1 file changed, 10 insertions(+), 114 deletions(-)
diff --git a/resources/grub/modules.list b/resources/grub/modules.list
index fcef533..02ca17c 100644
--- a/resources/grub/modules.list
+++ b/resources/grub/modules.list
@@ -1,100 +1,25 @@
# Install modules (installed, but not automatically loaded)
grub_install_modules=" \
-adler32 \
-backtrace \
-bfs \
-bswap_test \
-cmdline_cat_test \
-cmp_test \
-cpuid \
-ctz_test \
-div \
-div_test \
-dm_nv \
-exfctest \
-functional_test \
-gdb \
-geli \
-gettext \
-hello \
hexdump \
-hfs \
-hfsplus \
-hfspluscomp \
-http \
-jfs \
-macbless \
-macho \
-mda_text \
-minix \
-minix2 \
-minix2_be \
-minix3 \
-minix3_be \
-minix_be \
-morse \
-mpi \
-mul_test \
-net \
newc \
-nilfs2 \
odc \
-offsetio \
-part_acorn \
-part_amiga \
-part_apple \
-part_dvh \
-part_plan \
-part_sun \
-part_sunpc \
-pbkdf2_test \
-rdmsr \
-reiserfs \
-setjmp_test \
-shift_test \
-signature_test \
-sleep_test \
-strtoull_test \
-test_blockarg \
-testload \
-testspeed \
-tftp \
-ufs1 \
-ufs1_be \
-ufs2 \
usbserial_common \
usbserial_ftdi \
usbserial_pl2303 \
usbserial_usbdebug \
-usbtest \
-video_bochs \
-video_cirrus \
video_colors \
-videoinfo \
-videotest \
-videotest_checksum \
-wrmsr \
-xnu \
-xnu_uuid \
-xnu_uuid_test \
"
# Modules (and always loaded)
grub_modules=" \
acpi \
-affs \
-afs \
-afsplitter \
ahci \
-aout \
+argon2 \
at_keyboard \
all_video \
-archelp \
-argon2 \
ata \
bitmap \
bitmap_scale \
-blocklist \
boot \
bsd \
btrfs \
@@ -104,33 +29,21 @@ cbls \
cbmemc \
cbtime \
chain \
-cmosdump \
-cmostest \
-cmp \
configfile \
cpio \
cpio_be \
crc64 \
crypto \
cryptodisk \
-cs5536 \
-date \
-datehook \
-datetime \
-disk \
diskfilter \
echo \
-efiemu \
ehci \
eval \
-elf \
-extcmd \
exfat \
+elf \
ext2 \
-f2fs \
fat \
-file \
-fshelp \
+f2fs \
gcry_arcfour \
gcry_blowfish \
gcry_camellia \
@@ -153,23 +66,20 @@ gcry_sha512 \
gcry_tiger \
gcry_twofish \
gcry_whirlpool \
+geli \
gfxmenu \
gfxterm_background \
gfxterm_menu \
-gptsync \
gzio \
-halt \
hashsum \
-hdparm \
+halt \
help \
iorw \
iso9660 \
-json \
jpeg \
json \
keylayouts \
keystatus \
-ldm \
linux \
linux16 \
loadenv \
@@ -189,39 +99,30 @@ memdisk \
memrw \
minicmd \
mmap \
-msdospart \
multiboot \
multiboot2 \
nativedisk \
normal \
ntfs \
-ntfscomp \
ohci \
part_bsd \
part_dfly \
part_gpt \
part_msdos \
-parttool \
password \
password_pbkdf2 \
pata \
pbkdf2 \
-pci \
pcidump \
pgp \
play \
png \
-priority_queue \
-probe \
procfs \
-progress \
raid5rec \
raid6rec \
-random \
read \
reboot \
regexp \
-relocator \
romfs \
scsi \
search \
@@ -232,22 +133,17 @@ serial \
syslinuxcfg \
setjmp \
setpci \
-sleep \
-smbios \
spkmodem \
squash4 \
-sfs \
+sleep \
tar \
-terminal \
-terminfo \
test \
-time \
-tga \
true \
-tr \
-trig \
-udf \
uhci \
+udf \
+ufs1 \
+ufs1_be \
+ufs2 \
usb \
usb_keyboard \
usbms \
--
2.39.2
- [PATCH 01/20] Use GRUB 2.12, Leah Rowe, 2024/01/14
- [PATCH 03/20] GRUB: Force scancode set 2 with translation, Leah Rowe, 2024/01/14
- [PATCH 05/20] GRUB: Avoid printing frivilous error messages, Leah Rowe, 2024/01/14
- [PATCH 04/20] GRUB: Don't spew "Unknown key 0xFF", Leah Rowe, 2024/01/14
- [PATCH 02/20] Argon2 KDF support in GRUB 2.12, Leah Rowe, 2024/01/14
- [PATCH 06/20] GRUB: Use reduced set of modules,
Leah Rowe <=
- [PATCH 07/20] grub.cfg: support ESP, btrfs subvols and extlinux, Leah Rowe, 2024/01/14
- [PATCH 09/20] build/boot/roms: skip building gnat on fam15h, Leah Rowe, 2024/01/14
- [PATCH 11/20] import util/dell-flash-unlock from lbmk 09bed9a4, Leah Rowe, 2024/01/14
- [PATCH 10/20] NEW MAINBOARD: Dell Latitude E6400, Leah Rowe, 2024/01/14
- [PATCH 14/20] build/boot/roms: support "normal" seabios configs, Leah Rowe, 2024/01/14
- [PATCH 13/20] use seabios revision from canoeboot 20231103, Leah Rowe, 2024/01/14
- [PATCH 12/20] import util/nvmutil from lbmk 09bed9a4, Leah Rowe, 2024/01/14
- [PATCH 15/20] coreboot/e6400_4mb: enable the grub payload, Leah Rowe, 2024/01/14
- [PATCH 08/20] Use newer coreboot revision from canoeboot 102ce12, Leah Rowe, 2024/01/14
- [PATCH 17/20] build/module/grub: disable -Werror on builds, Leah Rowe, 2024/01/14