lkml.org 
[lkml]   [2023]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 1/2] docs: admin-guide: Update bootloader and installation instructions
Date
On Friday, November 24, 2023 11:56:43 AM EST you wrote:

> But the makefile is looking for "installkernel", right? Unless I'm
> missing something, that's the one that will work with "make install". ?

The `make install` calls `/scripts/install.sh`. `/scripts/install.sh` uses
a variable called $INSTALLKERNEL to search a few directories. If it can't
find what it's looking for it searches for an `install.sh` script in
srctree/arch/$arch/. `kernel-install` is part of the systemd stack, and can
be invoked as `installkernel`. It gets invoked as installkernel during
`make install` through some wizardry I'm not super familiar with. I guess
it's more of an install binary than an install script, but there's no
`installkernel.sh` on many current distributions. Just programs that
pretend to be `installkernel.sh` which might confuse a user looking for
such a script.

I suppose it would be more accurate to say something like: "It is also
possible to do `make install` if you have lilo installed or if your
distribution has an installer compatible with the kernel's makefile."

Thank you for your feedback,
Hunter



[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-11-25 03:43    [W:0.787 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site