I have reworked the patch to fix all issues pointed out by juliank, including patching the loadenv.c file to work with fallbacks.
CRITICAL NOTE:
*******************************************
**I HAVE NOT TESTED THIS CODE!!! !!! !!!***
*******************************************
I'm not quite sure how to get grub-efi-amd64 to build unsigned, and have been very busy, so this is sort of a "here's where I'm at, look it over and tell me if I'm on the right path" sort of thing. I'll try and test it later today most likely.
I have reworked the patch to fix all issues pointed out by juliank, including patching the loadenv.c file to work with fallbacks.
CRITICAL NOTE: ******* ******* ******* ******* ******* * ******* ******* ******* ******* ******* *
*******
**I HAVE NOT TESTED THIS CODE!!! !!! !!!***
*******
I'm not quite sure how to get grub-efi-amd64 to build unsigned, and have been very busy, so this is sort of a "here's where I'm at, look it over and tell me if I'm on the right path" sort of thing. I'll try and test it later today most likely.