Changeset 2042


Ignore:
Timestamp:
Oct 8, 2008, 2:15:59 AM (11 years ago)
Author:
bruno
Message:
  • Fix the /lib64 creation on non-debian systems ;-)
  • Also copy dirs named /etc/ld.so.conf.d in initrd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.7/mindi/mindi

    r2041 r2042  
    21422142
    21432143    # AL04Oct08: Check whether /lib64 is a link and if so explicitly create one in rootfs
    2144     [ -h "/lib64" ] && (mkdir -p lib ; ln -s lib lib64) || LogIt "/lib64 is a symbolic link, but I couldn't create in $mountpoint."
     2144    if [ -h "/lib64" ]; then
     2145        mkdir -p lib || LogIt "Unable to create lib in $mountpoint."
     2146        ln -s lib lib64 || LogIt "/lib64 is a symbolic link, but I couldn't create it in $mountpoint."
     2147    fi
    21452148
    21462149    cp -Rdf $tgz_dir_fname/* . 2>&1 >> $LOGFILE
     
    21772180
    21782181    # Copy of files mandatory for ld.so
    2179     cp /etc/ld.so.c* $mountpoint/etc
     2182    cp -rp /etc/ld.so.c* $mountpoint/etc
    21802183
    21812184    mkdir -p $mountpoint/tmp
Note: See TracChangeset for help on using the changeset viewer.