diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-09-14 08:31:29 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-09-14 08:31:29 -0400 |
commit | 3359f8ef92d120f03e80b108f0fa68ae1882e90f (patch) | |
tree | 48abba563043e06cb00fad0157cba85b01681d06 | |
parent | 0f24f78c782bda6b28e809440b14e6a15684ead9 (diff) | |
download | librebootfr-3359f8ef92d120f03e80b108f0fa68ae1882e90f.tar.gz librebootfr-3359f8ef92d120f03e80b108f0fa68ae1882e90f.zip |
Cook the GRUB image before misc. trimmings
Out of: the image itself, keylayouts, and font, the image takes the
longest to build so it would be best to attempt its build first to
avoid wasted time and resources, however little, if the build fails.
-rwxr-xr-x | projects/grub/grub | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/grub/grub b/projects/grub/grub index 1c729663..c444841b 100755 --- a/projects/grub/grub +++ b/projects/grub/grub @@ -75,16 +75,16 @@ build() { grub_build_utils - for raw_keymap in "${raw_keymap_path}"/*; do - grub_build_layout "${raw_keymap}" - done - if [[ "${target}" == 'bios' ]]; then grub_build_floppy_image else grub_build_standalone_image fi + for raw_keymap in "${raw_keymap_path}"/*; do + grub_build_layout "${raw_keymap}" + done + grub_build_font grub_copy_modules |