Skip to content

Commit 1c65429

Browse files
committed
Revert "grub2: Exit gracefully if the configuration has BLS enabled"
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
1 parent aefa1ca commit 1c65429

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/boot/grub2/grub2-15_ostree

-7
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ if ! test -d /ostree/repo; then
2626
exit 0
2727
fi
2828

29-
# Gracefully exit if the grub2 configuration has BLS enabled,
30-
# since there is no need to create menu entries in that case.
31-
. /etc/default/grub
32-
if test ${GRUB_ENABLE_BLSCFG} = "true"; then
33-
exit 0
34-
fi
35-
3629
# Make sure we're in the right environment
3730
if ! test -n "${GRUB_DEVICE}"; then
3831
echo "This script must be run as a child of grub2-mkconfig" 1>&2

0 commit comments

Comments
 (0)