Re: [PATCH v3 1/2] docs: admin-guide: Update bootloader and installation instructions

From: Hunter Chasens
Date: Fri Nov 24 2023 - 21:42:39 EST


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



Attachment: signature.asc
Description: This is a digitally signed message part.