commit:     40be04df7f4b954a8bf48d211e0961567fa4c378
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 12:50:18 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 06:16:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40be04df

sys-boot/grub: add installkernel as optfeature

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-boot/grub/grub-2.06-r9.ebuild | 1 +
 sys-boot/grub/grub-2.12-r1.ebuild | 1 +
 sys-boot/grub/grub-9999.ebuild    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys-boot/grub/grub-2.06-r9.ebuild 
b/sys-boot/grub/grub-2.06-r9.ebuild
index 31dc1e97ca87..1e41a5ab1fc2 100644
--- a/sys-boot/grub/grub-2.06-r9.ebuild
+++ b/sys-boot/grub/grub-2.06-r9.ebuild
@@ -337,6 +337,7 @@ pkg_postinst() {
                optfeature "detecting other operating systems (grub-mkconfig)" 
sys-boot/os-prober
                optfeature "creating rescue media (grub-mkrescue)" 
dev-libs/libisoburn
                optfeature "enabling RAID device detection" sys-fs/mdadm
+               optfeature "automatically updating GRUB's configuration on each 
kernel installation" "sys-kernel/installkernel[grub]"
        fi
 
        if has_version 'sys-boot/grub:0'; then

diff --git a/sys-boot/grub/grub-2.12-r1.ebuild 
b/sys-boot/grub/grub-2.12-r1.ebuild
index 95e5fdb5c08e..036d1f5670fa 100644
--- a/sys-boot/grub/grub-2.12-r1.ebuild
+++ b/sys-boot/grub/grub-2.12-r1.ebuild
@@ -341,6 +341,7 @@ pkg_postinst() {
                optfeature "detecting other operating systems (grub-mkconfig)" 
sys-boot/os-prober
                optfeature "creating rescue media (grub-mkrescue)" 
dev-libs/libisoburn
                optfeature "enabling RAID device detection" sys-fs/mdadm
+               optfeature "automatically updating GRUB's configuration on each 
kernel installation" "sys-kernel/installkernel[grub]"
        fi
 
        if has_version 'sys-boot/grub:0'; then

diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index 4146c10c16ea..1a4cfde422a0 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -337,6 +337,7 @@ pkg_postinst() {
                optfeature "detecting other operating systems (grub-mkconfig)" 
sys-boot/os-prober
                optfeature "creating rescue media (grub-mkrescue)" 
dev-libs/libisoburn
                optfeature "enabling RAID device detection" sys-fs/mdadm
+               optfeature "automatically updating GRUB's configuration on each 
kernel installation" "sys-kernel/installkernel[grub]"
        fi
 
        if has_version 'sys-boot/grub:0'; then

Reply via email to