Skip to content

Commit

Permalink
Hide "os-prober disabled" warning
Browse files Browse the repository at this point in the history
It is disabled very much intentional, to not parse arbitrary partition
on the disk. Do not suggest enabling it.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
  • Loading branch information
marmarek authored and krystian-hebel committed Oct 21, 2024
1 parent c43f069 commit 7fcd797
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/grub.d/30_os-prober.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export TEXTDOMAINDIR="@localedir@"
. "$pkgdatadir/grub-mkconfig_lib"

if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
grub_warn "$(gettext_printf "os-prober will not be executed to detect other bootable partitions.\nSystems on them will not be added to the GRUB boot configuration.\nCheck GRUB_DISABLE_OS_PROBER documentation entry.")"
exit 0
fi

Expand Down

0 comments on commit 7fcd797

Please sign in to comment.