Changeset 1849935


Ignore:
Timestamp:
03/27/2013 02:50:42 PM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
c1dd44c
Parents:
8418e9b
Message:

Retry failed commit r3686: LFS/master.sh:

  • Ignore error when useradd does not support "-k /dev/null" (happens at

least on Suse)

  • strip "-libstdc++" from the script name to allow building gcc-libstdc++

with package gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r8418e9b r1849935  
    3030021-addinguser:  020-creatingtoolsdir
    3131        @\$(call echo_message, Building)
    32         @if [ ! -d \$(LUSER_HOME) ]; then \\
     32        @-if [ ! -d \$(LUSER_HOME) ]; then \\
    3333                groupadd \$(LGROUP); \\
    3434                useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\
     
    103103    # Grab the name of the target (minus the -pass1 or -pass2 in the case of gcc
    104104    # and binutils in chapter 5)
    105     name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's@-pass[0-9]\{1\}@@'`
     105    name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' \
     106                                    -e 's@-pass[0-9]\{1\}@@' \
     107                                    -e 's@-libstdc++@@'`
    106108
    107109    # Set the dependency for the first target.
Note: See TracChangeset for help on using the changeset viewer.