lkml.org 
[lkml]   [2001]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: How to compile on one machine and install on another?
    Date
    On Wed, 20 Jun 2001 09:58:54 +0200, 
    Helge Hafting <helgehaf@idb.hist.no> wrote:
    >This is enough if you don't use modules. If you use modules you
    >need to copy them too, which is trickier. Several good methods
    >have been demonstrated, here is another if you can't use the nfs
    >approach:
    >
    >1. If you are running the same kernel revision on the compile machine,
    > temporarily rename /lib/modules/<version> to something else.
    > Yes - this could be dangerous but tend to work well on a "home
    >machine"
    >2. Do the "make modules_install" on the compile machine.

    The correct way of installing for a target machine is to use
    make INSTALL_MOD_PATH=foo modules_install
    You need to mkdir -p foo/lib/modules first. Everything is installed in
    foo/lib/modules/`uname -r` instead of /lib/modules so you do not
    disturb your compile system.

    There is also make INSTALL_PATH to specify where vmlinuz and System.map
    are stored for make zlilo and make install.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:55    [W:0.021 / U:0.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site