diff options
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/grub/grub-2.06_rc1.ebuild | 5 | ||||
-rw-r--r-- | sys-boot/grub/grub-9999.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-boot/grub/grub-2.06_rc1.ebuild b/sys-boot/grub/grub-2.06_rc1.ebuild index 480010aafdf9..88a1c7ee41f0 100644 --- a/sys-boot/grub/grub-2.06_rc1.ebuild +++ b/sys-boot/grub/grub-2.06_rc1.ebuild @@ -293,4 +293,9 @@ pkg_postinst() { optfeature "Create rescue media (grub-mkrescue)" dev-libs/libisoburn optfeature "Enable RAID device detection" sys-fs/mdadm fi + + if has_version sys-boot/os-prober; then + ewarn "Due to security concerns, os-prober is disabled by default." + ewarn "Set GRUB_DISABLE_OS_PROBER=false in /etc/default/grub to enable it." + fi } diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild index 29c5c03332ac..2e85d9e03291 100644 --- a/sys-boot/grub/grub-9999.ebuild +++ b/sys-boot/grub/grub-9999.ebuild @@ -293,4 +293,9 @@ pkg_postinst() { optfeature "Create rescue media (grub-mkrescue)" dev-libs/libisoburn optfeature "Enable RAID device detection" sys-fs/mdadm fi + + if has_version sys-boot/os-prober; then + ewarn "Due to security concerns, os-prober is disabled by default." + ewarn "Set GRUB_DISABLE_OS_PROBER=false in /etc/default/grub to enable it." + fi } |