Changeset 730436a for CLFS


Ignore:
Timestamp:
11/01/2013 08:47:42 PM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
269d81c
Parents:
a0dbe0a
Message:

Change SU_LUSER commands in CLFS for being able to interrupt
the build in the cross-tools and temptools phase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    ra0dbe0a r730436a  
    846846build_Makefile() {                     # Construct a Makefile from the book scripts
    847847#--------------------------------------#
    848   #
    849   # Script crashes if error trapping is on
    850   #
    851 set +e
    852   declare -f  method_cmds
    853 set -e
    854848
    855849  echo "...Creating Makefile... ${BOLD}START${OFF}"
    856850
    857851  cd $JHALFSDIR/${PROGNAME}-commands
    858   # Start with a clean files
     852  # Start with clean files
    859853  >$MKFILE
    860854  >$MKFILE.tmp
     
    936930mk_CROSS: mk_SETUP
    937931        @\$(call echo_PHASE,Cross and Temporary Tools)
    938         @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
     932        @( \$(SU_LUSER) "make -C \$(MOUNT_PT)/\$(SCRIPT_ROOT) BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
    939933        @sudo make restore-luser-env
    940934        @touch \$@
     
    10271021          echo "| the command you are looking for is               |"; \\
    10281022          echo "|   make makesys                                   |"; \\
    1029           echo "| to finish off the build                          |"; \\
     1023          echo "| to complete the build                            |"; \\
    10301024          echo "+--------------------------------------------------+"; \\
    10311025          exit 1; \\
     
    10431037mk_CROSS: mk_SETUP
    10441038        @\$(call echo_PHASE,Cross Tool)
    1045         @(sudo \$(SU_LUSER) "source .bashrc && cd \$(MOUNT_PT)/\$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
     1039        @( \$(SU_LUSER) "make -C \$(MOUNT_PT)/\$(SCRIPT_ROOT) BREAKPOINT=\$(BREAKPOINT) AS_LUSER" )
    10461040        @touch \$@
    10471041
Note: See TracChangeset for help on using the changeset viewer.