From 6e86a6480cd6abc5b0e950adb4e3fcaf03f2be7c Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Tue, 24 Mar 2020 22:09:35 +0000 Subject: [PATCH] grub2|loopback: allow providing hotkey to menu entry creation helpers --- scripts/build/binary_loopback_cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg index fbf893a53..25130410a 100755 --- a/scripts/build/binary_loopback_cfg +++ b/scripts/build/binary_loopback_cfg @@ -50,9 +50,10 @@ Grub_menu_entry() { local KERNEL="$2" local INITRD="$3" local APPEND="$4" + local HOTKEY="${5:+ --hotkey=$5}" cat <