Changeset 14eaa9f


Ignore:
Timestamp:
12/04/2006 01:48:48 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
f221c2c
Parents:
5f4982d
Message:

LFS changes:
Skip creation of chapters 4 and 9 scripts.
Creating /etc/lfs-release as part af all target.
Removed hardcoded script number.

Location:
LFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r5f4982d r14eaa9f  
    4545
    4646  <xsl:template match="sect1">
    47     <xsl:if test="count(descendant::screen/userinput) &gt; 0 and
    48       count(descendant::screen/userinput) &gt; count(descendant::screen[@role='nodump'])">
     47    <xsl:if test="(../@id='chapter-temporary-tools' or
     48                  ../@id='chapter-building-system' or
     49                  ../@id='chapter-bootscripts' or
     50                  ../@id='chapter-bootable') and
     51                  count(descendant::screen/userinput) &gt; 0 and
     52                  count(descendant::screen/userinput) &gt;
     53                  count(descendant::screen[@role='nodump'])">
    4954        <!-- The dirs names -->
    5055      <xsl:variable name="pi-dir" select="../processing-instruction('dbhtml')"/>
  • LFS/master.sh

    r5f4982d r14eaa9f  
    282282
    283283#----------------------------#
    284 chapter789_Makefiles() {
    285 #----------------------------#
    286   echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter7/8/9 ( BOOT ) ${R_arrow}"
    287 
    288   for file in chapter0{7,8,9}/* ; do
     284chapter78_Makefiles() {
     285#----------------------------#
     286  echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter7/8 ( BOOT ) ${R_arrow}"
     287
     288  for file in chapter0{7,8}/* ; do
    289289    # Keep the script file name
    290290    this_script=`basename $file`
    291291
    292292    # Grub must be configured manually.
    293     # The filesystems can't be unmounted via Makefile and the user
    294     # should enter the chroot environment to create the root
    295     # password, edit several files and setup Grub.
    296     #
     293    # Handle fstab creation.
    297294    # If no .config file is supplied, the kernel build is skipped
    298     #
    299295    case ${this_script} in
    300296      *grub)    continue ;;
    301       *reboot)  continue ;;
    302       *console) continue  ;; # Use the file generated by lfs-bootscripts
    303297      *fstab)   [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab ;;
    304298      *kernel)  [[ -z ${CONFIG} ]] && continue
     
    308302    # First append each name of the script files to a list (this will become
    309303    # the names of the targets in the Makefile
    310     chapter789="$chapter789 ${this_script}"
     304    chapter78="$chapter78 ${this_script}"
    311305
    312306    #--------------------------------------------------------------------#
     
    359353    # Keep the script file name for Makefile dependencies.
    360354    PREV=${this_script}
    361   done  # for file in chapter0{7,8,9}/*
     355  done  # for file in chapter0{7,8}/*
    362356
    363357}
     
    381375  # Add the iterations targets, if needed
    382376  [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    383   chapter789_Makefiles
     377  chapter78_Makefiles
    384378  # Add the BLFS_TOOL targets, if needed
    385379  [[ "$BLFS_TOOL" = "y" ]] && wrt_blfs_tool_targets
     
    416410all:    ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
    417411        @sudo make do_housekeeping
     412        @sudo echo "$VERSION - jhalfs build" > \$(MOUNT_PT)/etc/lfs-release
    418413        @\$(call echo_finished,$VERSION)
    419414
     
    454449          sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\
    455450        fi;
    456         @sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chapter06/063-createfiles
     451        @sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chapter06/*-createfiles
    457452        @\$(call echo_CHROOT_request)
    458453        @( sudo \$(CHROOT1) "cd \$(SCRIPT_ROOT) && make CHROOT")
     
    477472SUDO:      $runasroot
    478473CHROOT:    $chapter6
    479 BOOT:      $chapter789
     474BOOT:      $chapter78
    480475BLFS_TOOL: $blfs_tool
    481476
Note: See TracChangeset for help on using the changeset viewer.