From 3359f8ef92d120f03e80b108f0fa68ae1882e90f Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 14 Sep 2017 08:31:29 -0400 Subject: 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. --- projects/grub/grub | 8 ++++---- 1 file 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 -- cgit v1.2.3-70-g09d2