I am trying to set a custom Title to the .conf files under /boot/loader/entries, for future kernel updates.
This is what I have done:
cp /usr/lib/kernel/install.d/90-loaderentry.install /etc/kernel/install.d
Update /etc/kernel/install.d/90-loaderentry.install as:
#if ! [[ $PRETTY_NAME ]]; then
PRETTY_NAME="rawhide Linux $KERNEL_VERSION"
#fi
However, the latest entry after dnf update is still having the default Title:
cat e0288411347f4107bb6edb0f77e9971e-5.14.0-0.rc1.20210714git40226a3d96ef.18.fc35.x86_64.conf
title Fedora Linux (5.14.0-0.rc1.20210714git40226a3d96ef.18.fc35.x86_64) 35 (Workstation Edition Prerelease)
version 5.14.0-0.rc1.20210714git40226a3d96ef.18.fc35.x86_64
linux /fboot/vmlinuz-5.14.0-0.rc1.20210714git40226a3d96ef.18.fc35.x86_64
initrd /fboot/initramfs-5.14.0-0.rc1.20210714git40226a3d96ef.18.fc35.x86_64.img
options root=UUID=507afa72-cf38-4947-9f75-dc9c6531d269 ro rootflags=subvol=root.rawhide resume=UUID=8210480d-8583-40fb-8e7d-ae93e7a1919c
grub_users $grub_users
grub_arg --unrestricted
grub_class fedora
I tried with Fedora-34 and Fedora-35-rawhide, both have the same result.