View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Mar 2005 Posts: 1099
|
Posted: Mon May 13, 2024 8:29 pm Post subject: gentoo-kernel stopped updating grub.cfg |
|
|
I've been using gentoo-kernel for awhile and it always updated /boot/grub/grub.cfg for me. I recently emerged 6.6.30 but it doesn't seem to have updated grub.cfg. Did this behavior change by design? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CooSee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/116667693650fadeb419aaa.jpg)
Joined: 20 Nov 2004 Posts: 1507 Location: Earth
|
Posted: Mon May 13, 2024 10:02 pm Post subject: |
|
|
Quote: | Installkernel is a collection of scripts to automatically install new kernels and update bootloader configuration. |
from https://wiki.gentoo.org/wiki/Installkernel
![Cool 8)](images/smiles/icon_cool.gif) _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Mar 2005 Posts: 1099
|
Posted: Mon May 13, 2024 10:24 pm Post subject: |
|
|
Should enabling the systemd USE flag on installkernel restore the behavior I described? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CooSee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/116667693650fadeb419aaa.jpg)
Joined: 20 Nov 2004 Posts: 1507 Location: Earth
|
Posted: Mon May 13, 2024 10:46 pm Post subject: |
|
|
grant123 wrote: | Should enabling the systemd USE flag on installkernel restore the behavior I described? |
my apologies - i only speak OpenRC
also from wiki:
Quote: | Tip
Systemd's kernel-install can not only install kernels (kernel-install add), it can also handle kernel removal (kernel-install remove). If kernel-install is installed it will automatically be called by eclean-kernel. |
![Cool 8)](images/smiles/icon_cool.gif) _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Mar 2005 Posts: 1099
|
Posted: Mon May 13, 2024 10:57 pm Post subject: |
|
|
It turns out I am also on openrc. Do you know how to restore this behavior on openrc? That wiki page doesn't mention openrc unfortunately. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CooSee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/116667693650fadeb419aaa.jpg)
Joined: 20 Nov 2004 Posts: 1507 Location: Earth
|
Posted: Mon May 13, 2024 11:06 pm Post subject: |
|
|
grant123 wrote: | It turns out I am also on openrc. Do you know how to restore this behavior on openrc? That wiki page doesn't mention openrc unfortunately. |
Code: | [I] sys-kernel/installkernel
Available versions: 28{xpak} ~38 {dracut efistub grub refind systemd systemd-boot uki ukify}
Installed versions: 28{xpak}(02:47:26 05.04.2024)(dracut grub -refind -systemd -systemd-boot -uki -ukify)
Homepage: https://github.com/projg2/installkernel-gentoo https://wiki.gentoo.org/wiki/Installkernel
Description: Gentoo fork of installkernel script from debianutils |
i use gentoo-kernel-bin and also have distkernel in make.conf USE flag enabled <<< https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
![Cool 8)](images/smiles/icon_cool.gif) _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23089
|
Posted: Tue May 14, 2024 12:22 am Post subject: |
|
|
As I read the news article, users of sys-kernel/gentoo-kernel will still have installkernel installed. OP indicated that he uses sys-kernel/gentoo-kernel. Therefore, while my first inclination would be to expect that this is yet another thread where someone removed installkernel, that does not seem to be the case. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Mar 2005 Posts: 1099
|
Posted: Tue May 14, 2024 12:58 am Post subject: |
|
|
installkernel is installed. It turns out all I had to do was enable USE="grub".
Assuming I should set USE="grub" globally, where is that done these days? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 5375 Location: Bavaria
|
Posted: Tue May 14, 2024 2:17 am Post subject: |
|
|
grant123 wrote: | Assuming I should set USE="grub" globally, where is that done these days? |
If you have a KDE/Plasma system then you might enable it globally ... there are not many packages which uses this Use-flag:
Code: | # euse -i grub
global use flags (searching: grub)
************************************************************
no matching entries found
local use flags (searching: grub)
************************************************************
[- ] grub
dev-util/ostree: Enable grub configuration generator
[- ] 2023.1 [gentoo]
[- ] 2023.2 [gentoo]
[- ] 2023.3 [gentoo]
[- ] 2023.3-r1 [gentoo]
[- ] 2023.5 [gentoo]
[- ] 2024.3 [gentoo]
[- ] grub
kde-plasma/plasma-meta: Pull in Breeze theme for sys-boot/grub
[- ] (5) 5.27.11 [gentoo]
[- ] (6) 6.0.4 [gentoo]
[- ] grub
sys-kernel/installkernel: Re-generate grub.cfg on each kernel installation, used grub.cfg is overridable with GRUB_CFG env var
[- ] 28 [gentoo]
[- ] 38 [gentoo]
[- ] grub
x11-themes/gentoo-artwork: Install extra sys-boot/grub themes
[+ B] 0.4.2-r1 [gentoo] |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Mar 2005 Posts: 1099
|
Posted: Tue May 14, 2024 2:00 pm Post subject: |
|
|
Ok it looks like global USE still goes in make.conf. I didn't have one in there so I thought it might have moved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 2004
|
Posted: Tue May 14, 2024 2:34 pm Post subject: |
|
|
grant123 wrote: | Ok it looks like global USE still goes in make.conf. I didn't have one in there so I thought it might have moved. |
Any USE can go in package.use or in make.conf. It is how you want it applied to either system-wide (make.conf) or per package (package.use).
A "global USE" just means it has a default description across multiple packages. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|