Command: ['unshare', '--fork', '--pid', '--', 'chroot',
'/tmp/tmpqkhzgamy/target', 'grub2-mkconfig', '-o',
'/boot/efi/EFI/redhat/grub.cfg']

does not look correct, given that rocky edition of grub2 ships:

/boot/efi/EFI/rocky/grub.cfg
/boot/efi/EFI/rocky/grubenv
/boot/efi/EFI/rocky/grubx64.efi
/boot/grub2/grubenv
/boot/loader/entries
/etc/grub2-efi.cfg

and so on.

So i think when rocky is detected /rocky/ should be used instead of
/redhat/.

Or maybe even a /*/ glob, or a set of allowed patterns? Given how many
different operating systems there are that use the same installation
methods in curtin. I.e. rhel, centos, fedora, rocky, etc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955671

Title:
  support for rocky linux UEFI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1955671/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to