diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-03-26 11:15:58 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-03-26 11:16:54 -0400 |
commit | 8e4e7696c0c8169634b47581bde9e6bf9b5fad00 (patch) | |
tree | 75081859d244404728b5ec2f5f301dea4c380256 /sys-boot/grub/grub-9999.ebuild | |
parent | dev-java/tomcat-servlet-api: removed obsolete 7.0.107,8.5.61,9.0.41 (diff) | |
download | gentoo-8e4e7696c0c8169634b47581bde9e6bf9b5fad00.tar.gz gentoo-8e4e7696c0c8169634b47581bde9e6bf9b5fad00.tar.bz2 gentoo-8e4e7696c0c8169634b47581bde9e6bf9b5fad00.zip |
sys-boot/grub: add warning about os-prober
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-boot/grub/grub-9999.ebuild')
-rw-r--r-- | sys-boot/grub/grub-9999.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |