Changes
/* Prepare signed grub.cfg kernel and initrd on the EFI partition */
KERNEL_VERSION=$(uname -r)
KERNEL_CMDLINE=$(cat /proc/cmdline | awk '{ $1=""; print $0 }')
set timeout_style=menu
set timeout=2
* Copy your existent kernel and initrd to the EFI partition
* Sign grub.cfg, kernel and initrd with your GPG key