Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EFI boot support for Fedora #5

Merged
merged 3 commits into from
Mar 25, 2020
Merged

EFI boot support for Fedora #5

merged 3 commits into from
Mar 25, 2020

Conversation

igaichenkov
Copy link
Contributor

The theme doesn't get installed on Fedora with EFI enabled

install.sh Outdated
Comment on lines 78 to 82
# BLS etries have 'kernel' class, copy corresponding icon
if [[ -d /boot/loader/entries && -e ${THEME}-master/icons/${ID}.png ]]
then
cp ${THEME}-master/icons/${ID}.png ${THEME}-master/icons/kernel.png
fi
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this Fedora/RH specific?

Copy link
Contributor Author

@igaichenkov igaichenkov Mar 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware of other distros, since I'm using Fedora, and they introduced Bootloader Specification in version 30 (https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault). Anyways, nothing is preventing other distros from implementing it in future releases.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I was not aware of that, thanks. Still, grub_class kernel part seems to be Fedora/RH specific change to BLS (https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault#Differences_from_BootLoaderSpec). Would you mind to move that code inside existing Fedora/RH elif block (lines 64..76)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, no problem

@shvchk
Copy link
Owner

shvchk commented Mar 22, 2020

Looks good, thank you! One small question though, see comment on lines 78 to 82

@shvchk shvchk merged commit cd6cf16 into shvchk:master Mar 25, 2020
@shvchk
Copy link
Owner

shvchk commented Mar 25, 2020

Merged, thank you! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants