View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3628
|
Posted: Wed Mar 13, 2024 10:21 am Post subject: Heads-up: DO emerge --noreplace sys-kernel/installkernel |
|
|
4 the forgetful ones, e.g. me ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) 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 |
|
![](templates/gentoo/images/spacer.gif) |
honeymak Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 30 Dec 2002 Posts: 537
|
Posted: Sat Mar 23, 2024 12:10 am Post subject: |
|
|
just wondering if sys-kernel/genkernel requires installkernel?
![Embarassed :oops:](images/smiles/icon_redface.gif) _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
depontius Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 May 2004 Posts: 3509
|
Posted: Sat Mar 23, 2024 12:21 am Post subject: |
|
|
honeymak wrote: | just wondering if sys-kernel/genkernel requires installkernel?
![Embarassed :oops:](images/smiles/icon_redface.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
honeymak Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 30 Dec 2002 Posts: 537
|
Posted: Sat Mar 23, 2024 12:23 am Post subject: |
|
|
then how to report sys-kernel/genkernel requires installkernel?
![Embarassed :oops:](images/smiles/icon_redface.gif) _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
depontius Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 May 2004 Posts: 3509
|
Posted: Sat Mar 23, 2024 12:36 am Post subject: |
|
|
honeymak wrote: | then how to report sys-kernel/genkernel requires installkernel?
![Embarassed :oops:](images/smiles/icon_redface.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
honeymak Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 30 Dec 2002 Posts: 537
|
Posted: Sat Mar 23, 2024 12:38 am Post subject: |
|
|
ic.......okie okie.....
that means i can remove installkernel
![Razz :P](images/smiles/icon_razz.gif) _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sat Mar 23, 2024 1:01 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|