Changeset 1827 in MondoRescue for branches/2.2.5/mindi/mindi


Ignore:
Timestamp:
Dec 1, 2007, 7:00:41 PM (16 years ago)
Author:
Bruno Cornec
Message:

Fix again the bug on modules link at root of the initrd. Hopefully for good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1825 r1827  
    29552955
    29562956    # For all modules supported, create symlinks under the mountpoint
    2957     (cd $mountpoint ; for i in $EXTRA_MODS $NET_MODS $SCSI_MODS; do all_modules="$all_modules `FindSpecificModuleInPath . $i`"; done)
     2957    for i in $EXTRA_MODS $NET_MODS $SCSI_MODS; do
     2958        all_modules="$all_modules `FindSpecificModuleInPath $mountpoint $i | sed 's~^$mountpoint/~~g'`"
     2959    done
    29582960    for i in $all_modules; do
    2959         j=`echo $i | sed 's~^$mountpoint/~~'`
    29602961        (cd $mountpoint ; ln -s $i . 2>/dev/null)
    29612962    done
Note: See TracChangeset for help on using the changeset viewer.