From a542d52141acef0e2d2bb78253d6b5df4305dcd1 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Mon, 4 May 2020 18:20:02 +0100 Subject: rename binary_loopback_cfg to binary_grub_cfg when loopback support was introduced, it initially duplicated the code for generating a grub2 config, before the duplicated code was removed from the grub-pc script, effectively thus moving grub config generation to the loopback feature script. grub-efi support was added after this. this results in a misleading filename, since the `binary_loopback_cfg` script is essential for use of grub-pc|grub-efi, and actually only has a single line of code on top that's needed for adding actual loopback support on top. (when grub-pc and grub-efi are not used, the entire script is still needed for loopback support to work). so here we rename it to make better sense, and correct/clarify bits of documentation. Gbp-Dch: Short --- scripts/build/binary_grub-efi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/binary_grub-efi') diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi index 2ee26f40d..a7181bfed 100755 --- a/scripts/build/binary_grub-efi +++ b/scripts/build/binary_grub-efi @@ -31,6 +31,8 @@ fi Echo_message "Begin preparing Grub based EFI support..." +# NOTE: We rely on `binary_grub_cfg` to generate grub.cfg and other configuration files! + # Requiring stage file Require_stagefiles config bootstrap @@ -295,7 +297,5 @@ rm -rf chroot/grub-efi-temp-arm-efi rm -rf chroot/grub-efi-temp-cfg rm -rf chroot/grub-efi-temp -# We rely on: binary_loopback_cfg to generate grub.cfg and other configuration files - # Creating stage file Create_stagefile -- cgit v1.2.3