[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6005603.lOV4Wx5bFT@lux>
Date: Fri, 24 Nov 2023 21:42:32 -0500
From: Hunter Chasens <hunter.chasens18@....edu>
To: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] docs: admin-guide: Update bootloader and installation
instructions
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
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists