Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-kernel stopped updating grub.cfg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1091

PostPosted: Mon May 13, 2024 8:29 pm    Post subject: gentoo-kernel stopped updating grub.cfg Reply with quote

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
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Mon May 13, 2024 10:02 pm    Post subject: Reply with quote

Quote:
Installkernel is a collection of scripts to automatically install new kernels and update bootloader configuration.

from https://wiki.gentoo.org/wiki/Installkernel

8)
_________________
" 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
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1091

PostPosted: Mon May 13, 2024 10:24 pm    Post subject: Reply with quote

Should enabling the systemd USE flag on installkernel restore the behavior I described?
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Mon May 13, 2024 10:46 pm    Post subject: Reply with quote

grant123 wrote:
Should enabling the systemd USE flag on installkernel restore the behavior I described?

my apologies - i only speak OpenRC :roll:

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.

8)
_________________
" 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
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1091

PostPosted: Mon May 13, 2024 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Mon May 13, 2024 11:06 pm    Post subject: Reply with quote

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.

:lol:
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

8)
_________________
" 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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21772

PostPosted: Tue May 14, 2024 12:22 am    Post subject: Reply with quote

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
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1091

PostPosted: Tue May 14, 2024 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4323
Location: Bavaria

PostPosted: Tue May 14, 2024 2:17 am    Post subject: Reply with quote

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
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1091

PostPosted: Tue May 14, 2024 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1698

PostPosted: Tue May 14, 2024 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum