AlmaLinux / almalinux-deploy

EL to AlmaLinux migration tool.
GNU General Public License v3.0
543 stars 72 forks source link

Don't update GRUB on systems that don't have grub2-mkconfig binary #149

Closed aronowski closed 2 years ago

aronowski commented 2 years ago

Simply don't update GRUB on systems that don't have grub2-mkconfig binary.

I also took care of distinct /boot/efi/EFI/X directories since now grub2-mkconfig outputs to a symlink.

This should resolve https://github.com/AlmaLinux/almalinux-deploy/issues/128

andrewlukoshko commented 2 years ago

Could you please update your PR based on Shellcheck report?

aronowski commented 2 years ago

Naturally! Done.

srbala commented 2 years ago

@aronowski can you post some test logs for review/reference

aronowski commented 2 years ago

@srbala Yes, here are the logs for both Raspberry Pi and a UEFI x86_64 system. m2a-rpi.log m2a-x86_64.log