Skip to content

Commit

Permalink
BUG - Dans certains cas, avec certains ordinateurs, shim échoue
Browse files Browse the repository at this point in the history
Il arrive que dans certains cas, avec certains ordinateurs ( rhboot/shim#649 ),
  shim échoue au chargement de grub.
Ce patch permets à ces ordinateurs de pouvoir fonctionner en attendant un correctif stable.
  • Loading branch information
botzunga committed Sep 6, 2024
1 parent 3ddd22a commit c4c4d6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ if [[ "$question" == "y" || "$question" == "Y" ]]; then
#
# HERE, put the Apache installation block

# Workaround - shim in certain case, with certain specific computers will load a bad second loader : https://github.com/rhboot/shim/issues/649
[[ -r "/tftpboot/grubx64.efi" ]] && ln "/tftpboot/grubx64.efi" "/tftpboot/$(printf "\xC2")Onboard"

echo "=> Copy GRUB files..."
cp -rf "$basedir"/src/tftpboot/* /tftpboot/
chown -R fogproject:root /tftpboot
Expand Down

0 comments on commit c4c4d6c

Please sign in to comment.