Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/system/glibc/doinst.sh-glibc

    r1a19ecd rc5c522c  
    7070rm -rf lib/incoming
    7171# Done installing NPTL glibc libraries.
     72
     73# Timezone stuff:
     74if [ -L etc/localtime -a ! -r etc/localtime-copied-from ]; then
     75  mv etc/localtime etc/localtime-copied-from
     76  chroot . /bin/cp etc/localtime-copied-from etc/localtime
     77fi
     78# Add the default timezone in /etc, if none exists:
     79if [ ! -r etc/localtime ]; then
     80  ( cd etc ; rm -rf localtime localtime-copied-from )
     81  ( cd etc ; ln -sf /usr/share/zoneinfo/Factory localtime-copied-from )
     82  chroot . /bin/cp etc/localtime-copied-from etc/localtime
     83fi
     84# Add the default link in /usr/share/zoneinfo, if none exists:
     85if [ ! -L usr/share/zoneinfo/localtime ]; then
     86  ( cd usr/share/zoneinfo ; rm -rf localtime )
     87  ( cd usr/share/zoneinfo ; ln -sf /etc/localtime localtime )
     88fi
     89( cd usr/share/zoneinfo ; rm -rf timeconfig )
     90( cd usr/share/zoneinfo ; ln -sf /usr/sbin/timeconfig timeconfig )
    7291
    7392# Handle config files:
     
    146165( cd usr/lib ; rm -rf libnss_files.so )
    147166( cd usr/lib ; ln -sf ../../lib/libnss_files.so.2 libnss_files.so )
    148 # This is now a linker script:
    149 #( cd usr/lib ; rm -rf libm.so )
    150 #( cd usr/lib ; ln -sf ../../lib/libm.so.6 libm.so )
     167( cd usr/lib ; rm -rf libm.so )
     168( cd usr/lib ; ln -sf ../../lib/libm.so.6 libm.so )
    151169( cd usr/lib ; rm -rf libutil.so )
    152170( cd usr/lib ; ln -sf ../../lib/libutil.so.1 libutil.so )
Note: See TracChangeset for help on using the changeset viewer.