I need help overriding the kernel module install path

From: Mark Hobley (markhobley_at_hotpop.deletethisbit.com)
Date: 12/31/03


Date: Wed, 31 Dec 2003 01:32:33 GMT

As an ordinary user, I have built a kernel on one machine for
installation on another machine.

I now wish to build the kernel modules for this kernel.

I do not wish to become root, and install the modules in my lib
directory of my compiler machine, using make modules_install.

I want to override the module install path to a directory of my
choosing.

Does anyone know how I can do this ?

I don't mind modifying the Makefile for the kernel, but I'm not sure
which parts I would need to change.

The target machine will have a modified directory structure.



Relevant Pages

  • BETA5 hangs shortly after boot. Unknown cause.
    ... Just cvsup-ed to BETA5 tonight and after having built world and built ... and installed the kernel I rebooted into single user to install world. ... I must be stupid, stupid, stupid, but in my defence: ...
    (freebsd-current)
  • BETA5 hangs shortly after boot. Unknown cause.
    ... Just cvsup-ed to BETA5 tonight and after having built world and built ... and installed the kernel I rebooted into single user to install world. ... I must be stupid, stupid, stupid, but in my defence: ...
    (freebsd-current)
  • input method on fc3?
    ... FC3 and soundcard ... >> without problems and sound works fine. ... What modules were loaded with kernel ... I can install and configure samba on Linux as easily as I can install ...
    (Fedora)
  • Re: Looooong Horror story, 10.04.4 LTS on an amd turion 64 bit laptop version
    ... I used a procedure which installed a custom combo of kernel 3.5.7 ... which appeared to install without any gotchas. ... The update-manager finished, I had it recheck, nothing left to do ... No networking at all, usb detection of my plugging in the radio ...
    (Ubuntu)
  • Fedora Core 2, Averatec 3220 notebook
    ... I recently bought an Averatec 3220 notebook computer and have spent some ... Following is a detailed "howto" guide for installing Linux (Fedora Core ... Linux distro, which is easy to install and use, and for lots of answers ... We need one because the default Fedora Core kernel doesn't grok NTFS ...
    (Fedora)