summaryrefslogtreecommitdiffstats
path: root/debian/patches/reenable_os-prober.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:54:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:54:18 +0000
commit8e67fbf68ffeb9eb5f026dd482d73b021660bf9b (patch)
treebb573facd5d02096f9956b2617a722b88acaa8af /debian/patches/reenable_os-prober.patch
parentAdding upstream version 2.06. (diff)
downloadgrub2-debian.tar.xz
grub2-debian.zip
Adding debian version 2.06-3~deb11u6.debian/2.06-3_deb11u6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/reenable_os-prober.patch')
-rw-r--r--debian/patches/reenable_os-prober.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/reenable_os-prober.patch b/debian/patches/reenable_os-prober.patch
new file mode 100644
index 0000000..04ed937
--- /dev/null
+++ b/debian/patches/reenable_os-prober.patch
@@ -0,0 +1,15 @@
+diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
+index f8cbb8d7a..a6d1e2d22 100644
+--- a/util/grub-mkconfig.in
++++ b/util/grub-mkconfig.in
+@@ -140,8 +140,8 @@ GRUB_DEVICE_PARTUUID="`${grub_probe} --device ${GRUB_DEVICE} --target=partuuid 2
+ GRUB_DEVICE_BOOT="`${grub_probe} --target=device /boot`"
+ GRUB_DEVICE_BOOT_UUID="`${grub_probe} --device ${GRUB_DEVICE_BOOT} --target=fs_uuid 2> /dev/null`" || true
+
+-# Disable os-prober by default due to security reasons.
+-GRUB_DISABLE_OS_PROBER="true"
++# Enable os-prober by default for stable updates, let's not break expectations
++GRUB_DISABLE_OS_PROBER="false"
+
+ # Filesystem for the device containing our userland. Used for stuff like
+ # choosing Hurd filesystem module.