Changeset ccc7c2b


Ignore:
Timestamp:
07/30/2006 11:24:47 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
b2489fb
Parents:
d81c640
Message:

Fixed Udev script re-run after a build failure in LFS.

Location:
LFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    rd81c640 rccc7c2b  
    133133        <xsl:text>&#xA;</xsl:text>
    134134      </xsl:when>
     135      <!-- Fix Udev reinstallation after a build failure -->
     136      <xsl:when test="contains(string(),'firmware,udev')">
     137        <xsl:text>if [[ ! -d /lib/udev/devices ]] ; then&#xA;</xsl:text>
     138        <xsl:apply-templates/>
     139        <xsl:text>&#xA;fi&#xA;</xsl:text>
     140      </xsl:when>
    135141      <!-- Setting $LANG for /etc/profile -->
    136142      <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and
  • LFS/master.sh

    rd81c640 rccc7c2b  
    166166    # Remove Bzip2 binaries before make install
    167167    sed -e 's@make install@rm -vf /usr/bin/bz*\n&@' -i chapter06$N/*-bzip2
    168     # Let some Udev pre-installation commands to fail
    169     sed -e 's@/lib/udev/devices/fd@& || true@' \
    170         -e 's/mknod -m.*/& || true/' -i chapter06$N/*-udev
    171168  fi
    172169
Note: See TracChangeset for help on using the changeset viewer.