On Tue, Sep 26, 2023 at 12:56 PM document via Grub-devel
<grub-devel@gnu.org> wrote:
>
> Hi,
>
> Anyone teach me how grub 2 build from source but all utilities binary file 
> will prefixed with grub2-*,
> e.g /usr/bin/grub-mkimage will installed as /usr/bin/grub2-mkimage, yes, 
> Fedora did it.
>
> I've checked some web pages especially 
> "https://src.fedoraproject.org/rpms/grub2/tree/rawhide";
> but I can not find out how Redhat let GRUB 2 utilities all prefixed with 
> 'grub2'(such as grub-mkimage
> changed to grub2-mkimage as I said above), it is too much noise and hard for 
> me to find the expected lines.
>
> One more thing, I am not talking about grub leacy and sorry about my poor 
> English :P

It's likely done by passing --program-transform-name to configure. For example:

./configure --program-transform-name="s,grub,grub2,"

We used to do that on Gentoo, but switched back to the "grub-" names a
few years ago.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to