Skip to contentSkip to conversation

modules_install target

DISCUSSION J . A . Magallon 3 participants 3 messages Feb 15, 2001

lore
Share & tools
lore
#0 lore raw

I have recently noticed that 'make modules_install' tries as a last step

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1-ac13; fi

I depends on 'make install' doing the right symlinks in /boot. Would not be better to do a:

if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13
2.4.1-ac13; fi

???

Signature · 4 lines
J.A. Magallon                                                      $> cd pub
mailto:[email protected]                                          $> more beer

Linux werewolf 2.4.1-ac10 #1 SMP Sun Feb 11 23:36:46 CET 2001 i686
#1 lore raw
Quoted 9 lines · J . A . Magallon

I have recently noticed that 'make modules_install' tries as a last step

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1-ac13; fi

I depends on 'make install' doing the right symlinks in /boot. Would not be better to do a:

if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13 2.4.1-ac13; fi

The System.map depmod uses is the one in the top level linux directory. It has nothing to do with where the distribution will copy that System.map to, nor does it depend on /boot. Leave it alone.

#2 lore raw
In reply to J . A . Magallon

You're forgetting it's using System.map from your build directory and not from /boot.

Quoted 12 lines · J . A . Magallon

I have recently noticed that 'make modules_install' tries as a last step

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.1-ac13; fi

I depends on 'make install' doing the right symlinks in /boot. Would not be better to do a:

if [ -r System.map-2.4.1-ac13 ]; then /sbin/depmod -ae -F System.map-2.4.1-ac13
2.4.1-ac13; fi

???

Signature · 8 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================