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/installkernelor(distribution)
/sbin/installkernelorinstall to
$(INSTALL_PATH)and run lilo
From Documentation/kbuild/kbuild.txt:
INSTALL_PATHspecifies 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_PATHThis variable defines a place for the arch
Makefilesto install the resident kernel image andSystem.mapfile. 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