From 937590d2b16815f6c2d3387519a142b2227bff40 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 30 Dec 2021 06:50:53 +0000 Subject: [PATCH] optimize grub modules: pre-load ones that will likely be used --- resources/grub/modules.list | 142 ++++++++++++++++++------------------ 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/resources/grub/modules.list b/resources/grub/modules.list index 58b2259..e8be968 100644 --- a/resources/grub/modules.list +++ b/resources/grub/modules.list @@ -1,44 +1,21 @@ # Install modules (installed, but not automatically loaded) grub_install_modules=" \ adler32 \ -affs \ -afs \ -all_video \ -archelp \ -ata \ backtrace \ bfs \ -bitmap \ -bitmap_scale \ -blocklist \ bswap_test \ cmdline_cat_test \ -cmp \ cmp_test \ -cpio \ -cpio_be \ cpuid \ -crc64 \ -cs5536 \ ctz_test \ div \ div_test \ dm_nv \ -efiemu \ -elf \ -eval \ -exfat \ exfctest \ -extcmd \ -f2fs \ -file \ -fshelp \ functional_test \ gdb \ +geli \ gettext \ -gptsync \ -gzio \ -hashsum \ hello \ hexdump \ hfs \ @@ -46,11 +23,6 @@ hfsplus \ hfspluscomp \ http \ jfs \ -jpeg \ -json \ -linux16 \ -loadenv \ -lzopio \ macbless \ macho \ mda_text \ @@ -60,19 +32,12 @@ minix2_be \ minix3 \ minix3_be \ minix_be \ -mmap \ morse \ mpi \ -msdospart \ mul_test \ -multiboot \ -multiboot2 \ -nativedisk \ net \ newc \ nilfs2 \ -ntfs \ -ntfscomp \ odc \ offsetio \ part_acorn \ @@ -82,50 +47,25 @@ part_dvh \ part_plan \ part_sun \ part_sunpc \ -parttool \ pbkdf2_test \ -play \ -png \ -priority_queue \ -procfs \ -progress \ -random \ rdmsr \ -read \ reiserfs \ -relocator \ -scsi \ -search \ -search_fs_file \ -search_fs_uuid \ -search_label \ -setjmp \ setjmp_test \ -setpci \ -sfs \ shift_test \ signature_test \ -sleep \ sleep_test \ -smbios \ -spkmodem \ -squash4 \ strtoull_test \ -tar \ -terminfo \ test_blockarg \ testload \ testspeed \ tftp \ -tga \ -time \ -tr \ -trig \ -true \ -udf \ ufs1 \ ufs1_be \ ufs2 \ +usbserial_common \ +usbserial_ftdi \ +usbserial_pl2303 \ +usbserial_usbdebug \ usbtest \ video_bochs \ video_cirrus \ @@ -137,16 +77,23 @@ wrmsr \ xnu \ xnu_uuid \ xnu_uuid_test \ -xzio \ " # Modules (and always loaded) grub_modules=" \ acpi \ +affs \ +afs \ afsplitter \ ahci \ aout \ at_keyboard \ +all_video \ +archelp \ +ata \ +bitmap \ +bitmap_scale \ +blocklist \ boot \ bsd \ btrfs \ @@ -158,18 +105,31 @@ 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 \ ext2 \ +f2fs \ fat \ +file \ +fshelp \ gcry_arcfour \ gcry_blowfish \ gcry_camellia \ @@ -192,20 +152,26 @@ gcry_sha512 \ gcry_tiger \ gcry_twofish \ gcry_whirlpool \ -geli \ gfxmenu \ gfxterm_background \ gfxterm_menu \ +gptsync \ +gzio \ halt \ +hashsum \ hdparm \ help \ iorw \ iso9660 \ json \ +jpeg \ +json \ keylayouts \ keystatus \ ldm \ linux \ +linux16 \ +loadenv \ loopback \ ls \ lsacpi \ @@ -214,18 +180,27 @@ lspci \ luks \ luks2 \ lvm \ +lzopio \ mdraid09 \ mdraid09_be \ mdraid1x \ 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 \ @@ -233,25 +208,50 @@ pbkdf2 \ pci \ pcidump \ pgp \ +play \ +png \ +priority_queue \ probe \ +procfs \ +progress \ raid5rec \ raid6rec \ +random \ +read \ reboot \ regexp \ +relocator \ romfs \ +scsi \ +search \ +search_fs_file \ +search_fs_uuid \ +search_label \ serial \ syslinuxcfg \ +setjmp \ +setpci \ +sleep \ +smbios \ +spkmodem \ +squash4 \ +sfs \ +tar \ terminal \ +terminfo \ test \ +time \ +tga \ +true \ +tr \ +trig \ +udf \ uhci \ usb \ usb_keyboard \ usbms \ -usbserial_common \ -usbserial_ftdi \ -usbserial_pl2303 \ -usbserial_usbdebug \ xfs \ +xzio \ zfs \ zfscrypt \ zfsinfo \