Support BOOT_FILE variable for usage within secureboot templates
[grml-live.git] / templates / secureboot / grub.cfg
index b5010f3..f98e37e 100644 (file)
@@ -3,7 +3,7 @@ export grml_orig_prefix
 set grml_orig_root=$root
 export grml_orig_root
 
-search.file /boot/grub/grmlenv.cfg root
+search.file %BOOT_FILE% root
 set prefix=($root)/boot/grub/
 source ($root)/boot/grub/grmlenv.cfg
 
@@ -27,8 +27,6 @@ else
     insmod efi_uga
     insmod gfxterm
     insmod png
-    # this is forbidden to be loaded under Secure Boot:
-    #insmod vbe
     terminal_output gfxterm
   fi