Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] 'make install' hijacked by installkernel ?

12 views
Skip to first unread message

Adam Carter

unread,
Jan 26, 2024, 5:00:06 AMJan 26
to
I just tried to install a new kernel using 'make install' only to find that the behaviour has changed and it appears to be running a bunch on installkernel stuff. 

'make help' says
  install - Install kernel using (your) ~/bin/installkernel or
 (distribution) /sbin/installkernel or install to
 $(INSTALL_PATH) and run lilo

So I guess that I want the 'install to  $(INSTALL_PATH) and run lilo' behaviour that i'm used to. How to i get 'make install' to ignore /sbin/installkernel ?

Philip Webb

unread,
Jan 26, 2024, 7:00:04 AMJan 26
to
I too just installed a new kernel (6.6.13). My notes told me to do :

make && make firmware_install && make modules_install
mount /boot
cp arch/x86_64/boot/bzImage /boot/vmlinuz-<nn>-gentoo-r<n>
cp System.map /boot/System.map-<nn>-gentoo-r<n>

which worked with the appropriate version numbers inserted,
but not before it choked on 'make firmware_install', which has disappeared.
I too use Lilo, a simple + reliable boot manager.

I have long wondered why the compile stage takes so long :
it compiles innumerable .o files,
which seem to involve config options I haven't chosen.
The new kernel image is size 17633728 via 'ls -l /boot' : is that correct ?
It does indeed boot & there are no changes in behaviour.

--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatcadotinterdotnet

Arve Barsnes

unread,
Jan 26, 2024, 7:20:07 AMJan 26
to
I think 'make install' has always called installkernel, but this was
previously provided by sys-apps/debianutils. For reasons that I
haven't investigated too much, this is now 'forked' and provided by
the installkernel package, so as I understand it, having the
installkernel binary provides the behaviour that you're used to.

Regards,
Arve

Alan J. Wylie

unread,
Jan 26, 2024, 1:40:05 PMJan 26
to
I had to change the use flags

sys-kernel/installkernel -dracut -systemd

With "dracut", it now ran dracut automatically, duplicating my install
script.

With "systemd", it installed the new kernel in a subdirectory of /boot,
named by 32 random hex characters and also created a "loader"
subdirectory.

--
Alan J. Wylie https://www.wylie.me.uk/

Dance like no-one's watching. / Encrypt like everyone is.
Security is inversely proportional to convenience

Daniel Pielmeier

unread,
Jan 26, 2024, 2:00:05 PMJan 26
to
Adam Carter schrieb am 26.01.24 um 10:55:
There is a news item related to installkernel [1]. Probably worth
reading it!

[1]
https://www.gentoo.org/support/news-items/2024-01-18-installkernel-merge.html

--
Regards
Daniel
0 new messages