How to change the install path of my Linux Source tree?

5,135

Yup, I found where is that install path.

It is inside /sbin. The script file name is installkernel.

Just need to make a couple of changes in there and i could change the default install path of my Linux source(which was /boot).

Share:
5,135

Related videos on Youtube

Navaneeth Sen
Author by

Navaneeth Sen

Updated on September 17, 2022

Comments

  • Navaneeth Sen
    Navaneeth Sen over 1 year

    I was trying to bring up my custom kernel. I did the following :

    $ make menuconfig && make modules && make modules_install && make install
    

    I would like to change the install PATH. How can i do that?

    I tried doing

    $ export INSTALL_PATH=<my custom path>
    

    But then it is only creating vmlinux.bin (it is not creating the ramdisk image!)

    But if I don't do that, make install will automatically create the ramdisk image in the default /boot folder.

    How can i change that?

  • Navaneeth Sen
    Navaneeth Sen over 13 years
    but i would like to know from where is it getting the install path?
  • Ciro Santilli Путлер Капут 六四事
    Ciro Santilli Путлер Капут 六四事 almost 9 years
    And you can use "make install INSTALLKERNEL=XXX" to use a custom script as mentioned under Documentation/kbuild.