Changeset cbca63a


Ignore:
Timestamp:
12/25/2013 11:26:55 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
94744cd
Parents:
c1626d8
Message:

Further changes to BLFS tools installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rc1626d8 rcbca63a  
    148148# Suppresses unneeded parts of the scriptlets
    149149if [ "$DEP_LIBXSLT" = y ]; then
    150   # libxslt pulls docbook-xsl in. Sorry for sed synthax.
    151   # I do not know how to delete lines between 2 addresses excluding those
    152   # two lines.
     150  # libxslt pulls docbook-xsl in, which populates the catalog with annoying
     151  # **EDITME** references. Fortunately, those lines are regognizable because
     152  # they occur between lines containing '/etc/xml/catalog' at the end of the
     153  # line (without '&&'). I  have not found a simple way to delete lines
     154  # between 2 addresses, excluding either the first or the last one. So use
     155  # a loop for accumulating lines and deleting at the end.
     156  # Sorry for sed synthax.
    153157  sed -i '\@^[[:space:]]*/etc/xml/catalog$@{
    154158n
     
    162166fi
    163167if [ "$DEP_SUDO" = y ]; then
    164   sed -i '/pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo
     168  sed -i '/cat.*pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo
    165169fi
    166170if [ "$DEP_SVN" = y ]; then
     
    178182pushd $BUILDDIR$BLFS_ROOT/work
    179183../gen-makefile.sh
     184# The generated Makefile updates the tracking file after each package
     185# installation, using libxslt, which is not installed yet. So move
     186# updating to the end of the process, adding an 'update' target
    180187sed -i -e '/xsltproc/,+6d' \
    181188       -e '/^all/s@$@ update@' \
Note: See TracChangeset for help on using the changeset viewer.