Skip to content

Commit

Permalink
Revert "grub2: Exit gracefully if the configuration has BLS enabled"
Browse files Browse the repository at this point in the history
This reverts commit 985a141.

Reverting for now due to some users experiencing no boot entries after
upgrading. See for background:

ostreedev#1929
https://discussion.fedoraproject.org/t/boot-entries-gone-after-upgrade/8026
  • Loading branch information
jlebon committed Oct 15, 2019
1 parent aefa1ca commit 1c65429
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/boot/grub2/grub2-15_ostree
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ if ! test -d /ostree/repo; then
exit 0
fi

# Gracefully exit if the grub2 configuration has BLS enabled,
# since there is no need to create menu entries in that case.
. /etc/default/grub
if test ${GRUB_ENABLE_BLSCFG} = "true"; then
exit 0
fi

# Make sure we're in the right environment
if ! test -n "${GRUB_DEVICE}"; then
echo "This script must be run as a child of grub2-mkconfig" 1>&2
Expand Down

0 comments on commit 1c65429

Please sign in to comment.