ValdikSS / Super-UEFIinSecureBoot-Disk

Super UEFIinSecureBoot Disk: Boot any OS or .efi file without disabling UEFI Secure Boot
734 stars 112 forks source link

`glim` is hard to update #27

Open akaihola opened 6 months ago

akaihola commented 6 months ago

I updated the glim configurations in my Super UEFIinSecureBoot Disk installation to make latest System Rescue images work (see #26).

glim seems to assume it lives in the same directory as the main grub.cfg, but here it's moved one level deeper in EFI/grub/glim. This makes it hard to upgrade since it includes the distro-specific configurations using configfile "${prefix}/inc-<distro>.cfg" (see glim/grub2/grub.cfg). So I had to search and replace all of those with configfile "${prefix}/glim/inc-<distro>.cfg".

Also the main configuration file is called grub.cfg in glim but is glim/main.cfg here.

Maybe glim has changed since it was included here, and maybe glim's design could support inclusion in other projects better. I create issue thias/glim#128 there as well to raise awareness.