Is it possible to change default destination( /boot/ ) of make install
at installing custom linux kernel.
You need to use INSTALL_PATH
environment variable to change installation directory.
Example:
$ export INSTALL_PATH=/tmp
$ make install
From make help
:
install
- Install kernel using
(your)
~/bin/installkernel
or(distribution)
/sbin/installkernel
orinstall to
$(INSTALL_PATH)
and run lilo
From Documentation/kbuild/kbuild.txt
:
INSTALL_PATH
specifies where to place the updated kernel and system map images. Default is/boot
, but you can set it to other values.
Also, from Documentation/kbuild/makefiles.txt
:
INSTALL_PATH
This variable defines a place for the arch
Makefiles
to install the resident kernel image andSystem.map
file. Use this for architecture-specific install targets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With