aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-09-14 08:31:29 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-09-14 08:31:29 -0400
commit3359f8ef92d120f03e80b108f0fa68ae1882e90f (patch)
tree48abba563043e06cb00fad0157cba85b01681d06 /projects
parent0f24f78c782bda6b28e809440b14e6a15684ead9 (diff)
downloadlibrebootfr-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.
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/grub/grub8
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