Closed traylenator closed 4 years ago
If you can give me a hint at what is missing for the coveralls happy to have ago.
@traylenator Don't worry about minor coveralls issues. I'll try to take a look at this today. It's been a pain trying to get this right across the board.
For interest some back ground that led to this:
https://techblog.web.cern.ch/techblog/post/bios_uefi_cloud_image/
I'm labeling this as backwards-incompatible as this has the potential to break the boot config when this module starts doing what it was supposed to be doing.
Currently grub2-mkconfig is called on the first file that exists from.
So on a CentOS 7 system
grub2-efi.cfg
is generated only from/etc/default/grub
.With an EFI system configured for bios boot the
/boot/grub2/grub.cfg
is the important one sokernel_parameter
updates are not applied.Taking inspiration from new-kernel-pkg to see what happens on kernel upgrade
grubby
is called for each of these files that exists so emulating this logic make sense.Fixes #4