Changeset 60cb629 for LFS


Ignore:
Timestamp:
04/17/2006 07:56:47 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
54b4b32
Parents:
972467e
Message:

Improved Module-Init-Tools and Readline reinstallations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r972467e r60cb629  
    162162    # Remove Bzip2 binaries before make install
    163163    sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
    164     # Tell Module-Init-Tools that we are reinstalling it
    165     sed -e 's@make install@make moveold\n&@' -i chapter06$N/*-module-init-tools
    166     # Relink some Readline libraries after make install
     164    # Tell Module-Init-Tools that we are reinstalling it and clean-up
     165    sed -e 's@make install@make moveold\n&@' \
     166        -e 's@make install@&\nrm -v /sbin/*.old@' \
     167        -e 's@make install@&\nrm -v /bin/lsmod.old@' \
     168        -e 's@make install@&\nrm -v /usr/share/man/man8/*.old.8@' -i chapter06$N/*-module-init-tools
     169    # Delete *old Readline libraries and regenerate two links after make install
    167170    sed -e 's@make install@&\nln -sfv libreadline.so.5.1 /lib/libreadline.so.5@' \
    168         -e 's@make install@&\nln -sfv libhistory.so.5.1 /lib/libhistory.so.5@' -i chapter06$N/*-readline
     171        -e 's@make install@&\nln -sfv libhistory.so.5.1 /lib/libhistory.so.5@' \
     172        -e 's@make install@&\nrm -v /lib/lib{history,readline}*old@' \
     173        -e 's@make install@&\nrm -v /lib/lib{history,readline}.so.5@' -i chapter06$N/*-readline
    169174    # Let some Udev pre-installation commands to fail
    170175    sed -e 's@/lib/udev/devices/fd@& || true@' \
Note: See TracChangeset for help on using the changeset viewer.