Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Heads-up: DO emerge --noreplace sys-kernel/installkernel
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
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Wed Mar 13, 2024 10:21 am    Post subject: Heads-up: DO emerge --noreplace sys-kernel/installkernel Reply with quote

4 the forgetful ones, e.g. me :roll:
Code:
eselect news read
2024-03-12-debianutils-installkernel
  Title                     installkernel is no longer implicitly installed
  Author                    Andrew Ammerlaan <andrewammerlaan@gentoo.org>
  Posted                    2024-02-26
  Revision                  1

/sbin/installkernel is a script called by the kernel's "make install"
as well as by the distribution kernel's post-install phase. If you are
reading this then chances are you use and rely on installkernel[1] and
what follows is essential for you.

Previously sys-kernel/installkernel was implicitly installed on many
systems via a dependency in sys-apps/debianutils. This dependency was
toggled by the "installkernel" USE flag, and enabled by default.

Until recently, sys-apps/debianutils was in turn pulled in by
app-misc/ca-certificates, an essential package installed on many
systems. However, this dependency of app-misc/ca-certificates on
sys-apps/debianutils was removed[2]. As a result many users may find
that sys-apps/debianutils and therefore sys-kernel/installkernel are no
longer part of the dependency graph and will therefore be cleaned up by
"emerge --depclean".

Removing sys-kernel/installkernel from your system WILL change the way
kernels are installed by "make install"! Instead of the versioned
/boot/vmlinuz-x.y.z that you are used to, "make install" will simply
copy bzImage (or equivalent for your arch) into /boot. This image may
not be picked up by your bootloader or its configuration tools.

To avoid surprises from such implicit dependencies from happening again
in the future, the dependency on sys-kernel/installkernel in
sys-apps/debianutils is removed. And as such, sys-kernel/installkernel
is only installed on the system if it is either explicitly selected or
pulled in via the distribution kernels (e.g. gentoo-kernel(-bin)).


User Action Required (all users)
====================

Users who currently have sys-kernel/installkernel installed, must
ensure that it is explicitly selected by emerging it:

   emerge --noreplace sys-kernel/installkernel

Users who find that sys-kernel/installkernel has already been cleaned
from their systems and are therefore affected by the change in kernel
installation described above should re-install sys-kernel/installkernel
and then re-install their kernel.

   emerge sys-kernel/installkernel
   cd /usr/src/linux       # (or other location of the kernel sources)
   make install

Note that this re-installation is not required for users of the
distribution kernels (e.g. gentoo-kernel(-bin)).

[1] https://wiki.gentoo.org/wiki/Installkernel
[2] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6ccafd58bc7401fa371d2f255d72ddae0131e6

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Sat Mar 23, 2024 12:10 am    Post subject: Reply with quote

just wondering if sys-kernel/genkernel requires installkernel?

:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Sat Mar 23, 2024 12:21 am    Post subject: Reply with quote

honeymak wrote:
just wondering if sys-kernel/genkernel requires installkernel?

:oops:


No. I saw installkernel getting removed a few days back by "emerge --depclean" then saw the discussion here about it. I regularly use genkernel and if it needed installkernel it would not have been flagged for removal.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Sat Mar 23, 2024 12:23 am    Post subject: Reply with quote

then how to report sys-kernel/genkernel requires installkernel?

:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Sat Mar 23, 2024 12:36 am    Post subject: Reply with quote

honeymak wrote:
then how to report sys-kernel/genkernel requires installkernel?

:oops:


It doesn't. I'm not finding the date when installkernel was removed, but I built a new kernel less than a week ago with genkernel and I'm running that kernel now. Just looked at /var/log/emerge.log and installkernel was removed at the end of January. I've built (and installed) many kernels since then.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Sat Mar 23, 2024 12:38 am    Post subject: Reply with quote

ic.......okie okie.....
that means i can remove installkernel

:P
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Sat Mar 23, 2024 1:01 am    Post subject: Reply with quote

depontius wrote:
Just looked at /var/log/emerge.log and installkernel was removed at the end of January. I've built (and installed) many kernels since then.

If your bootloader can survive with the old-fashioned way of "make install" copying to /boot by itself (and scaring you with "cannot find LILO" message) then there is no issue. It is not as if nothing gets copied into /boot without installkernel:
Code:
Instead of the versioned
/boot/vmlinuz-x.y.z that you are used to, "make install" will simply
copy bzImage (or equivalent for your arch) into /boot.
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