summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/grub/modules.list109
-rwxr-xr-xscript/build/grub/utils2
2 files changed, 6 insertions, 105 deletions
diff --git a/resources/grub/modules.list b/resources/grub/modules.list
index d75b65db..ec9172f1 100644
--- a/resources/grub/modules.list
+++ b/resources/grub/modules.list
@@ -1,82 +1,26 @@
# 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)
@@ -84,52 +28,33 @@ grub_modules=" \
acpi \
affs \
afs \
-afsplitter \
ahci \
-aout \
at_keyboard \
all_video \
-archelp \
ata \
bitmap \
bitmap_scale \
-blocklist \
boot \
bsd \
btrfs \
-cat \
cbfs \
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 \
ext2 \
f2fs \
fat \
-file \
-fshelp \
gcry_arcfour \
gcry_blowfish \
gcry_camellia \
@@ -152,26 +77,20 @@ 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 \
@@ -189,39 +108,27 @@ 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 \
@@ -230,24 +137,18 @@ 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 \
+udf \
+ufs1 \
+ufs1_be \
+ufs2 \
usb \
usb_keyboard \
usbms \
diff --git a/script/build/grub/utils b/script/build/grub/utils
index f0449ed7..3a282f2e 100755
--- a/script/build/grub/utils
+++ b/script/build/grub/utils
@@ -44,7 +44,7 @@ build_grub()
err "build_grub: autogen.sh"
./configure --with-platform=coreboot || \
err "build_grub: autoconf"
- make -j$(nproc) || \
+ make -j$(nproc) FS_PAYLOAD_MODULES="" || \
err "build_grub: make"
)
}