How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread document via Grub-devel
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
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread document via Grub-devel
>> 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,"

Wow, thats it! Thanks a lot.

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


Changes like this situation always prefer looks like a joke for newbie,
and the world always change,
but kind heart communite people like you help newbie growing up.


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