From 3e1712768172e53ed02da96e1bb392edaa219de7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 21 Nov 2014 04:40:35 -0500 Subject: buildrom-withgrub: Only include 1 keymap file in GRUB memdisk. This is to reduce the size of the image. To accomplish this, the payload in each coreboot configuration was set to 'None', after which the buildrom-withgrub script was modified to build a new grub.elf for each image. This is fast, since building the grub.elf only takes less than a second. The alternative was to build a new coreboot ROM per keymap, which would have been slow. Other files were also modified along with this, check the diff to see everything. --- (limited to 'resources/utilities/grub-assemble/modules.conf') diff --git a/resources/utilities/grub-assemble/modules.conf b/resources/utilities/grub-assemble/modules.conf new file mode 100644 index 0000000..718d4c4 --- /dev/null +++ b/resources/utilities/grub-assemble/modules.conf @@ -0,0 +1,200 @@ +grub_install_modules=" \ +adler32 \ +all_video \ +archelp \ +ata \ +backtrace \ +bitmap \ +bitmap_scale \ +cmp \ +cpio_be \ +cpio \ +cpuid \ +crc64 \ +cs5536 \ +div_test \ +efiemu \ +elf \ +eval \ +exfat \ +extcmd \ +file \ +fshelp \ +gettext \ +gfxmenu \ +gptsync \ +gzio \ +hashsum \ +hexdump \ +http \ +linux16 \ +loadenv \ +lzopio \ +mda_text \ +mmap \ +mpi \ +msdospart \ +multiboot2 \ +multiboot \ +nativedisk \ +net \ +newc \ +ntfscomp \ +ntfs \ +odc \ +offsetio \ +parttool \ +priority_queue \ +procfs \ +progress \ +read \ +relocator \ +scsi \ +search_fs_file \ +search_fs_uuid \ +search_label \ +search \ +setjmp \ +setpci \ +sleep \ +squash4 \ +tar \ +terminfo \ +testload \ +testspeed \ +tftp \ +time \ +trig \ +tr \ +true \ +udf \ +ufs1_be \ +ufs1 \ +ufs2 \ +usbserial_common \ +usbserial_ftdi \ +usbserial_pl2303 \ +usbserial_usbdebug \ +usbtest \ +video_colors \ +videotest_checksum \ +xzio \ +" + +grub_modules=" \ +acpi \ +ahci \ +at_keyboard \ +boot \ +cat \ +cbfs \ +cbls \ +cbtime \ +chain \ +cmosdump \ +cmostest \ +cbmemc \ +crypto \ +cryptodisk \ +configfile \ +datehook \ +date \ +datetime \ +diskfilter \ +disk \ +echo \ +ext2 \ +ehci \ +fat \ +halt \ +help \ +iorw \ +iso9660 \ +keystatus \ +linux \ +loopback \ +ls \ +lsacpi \ +lsmmap \ +lspci \ +luks \ +lvm \ +memdisk \ +minicmd \ +memrw \ +morse \ +normal \ +ohci \ +part_gpt \ +part_msdos \ +password \ +password_pbkdf2 \ +pbkdf2 \ +pcidump \ +pci \ +play \ +probe \ +reboot \ +serial \ +terminal \ +test \ +usb_keyboard \ +usbms \ +uhci \ +gcry_arcfour \ +gcry_blowfish \ +gcry_camellia \ +gcry_cast5 \ +gcry_crc \ +gcry_des \ +gcry_dsa \ +gcry_idea \ +gcry_md4 \ +gcry_md5 \ +gcry_rfc2268 \ +gcry_rijndael \ +gcry_rmd160 \ +gcry_rsa \ +gcry_seed \ +gcry_serpent \ +gcry_sha1 \ +gcry_sha256 \ +gcry_sha512 \ +gcry_tiger \ +gcry_twofish \ +gcry_whirlpool \ +hdparm \ +regexp \ +spkmodem \ +syslinuxcfg \ +usb \ +verify \ +videoinfo \ +videotest \ +xfs \ +btrfs \ +zfs \ +sfs \ +romfs \ +reiserfs \ +nilfs2 \ +minix_be \ +minix3_be \ +minix3 \ +minix2_be \ +minix2 \ +minix \ +jfs \ +hfsplus \ +hfs \ +bfs \ +afs \ +affs \ +gfxmenu \ +gfxterm_background \ +gfxterm_menu \ +jpeg \ +png \ +tga \ +pata \ +" -- cgit v0.9.1