Ignore:
Timestamp:
06/20/2020 05:16:22 PM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
49f8b03
Parents:
706e5bf
Message:

Add the multilib book: fixes ticket #1722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_book_parser

    r706e5bf r13e52a5  
    157157    lfs)
    158158        echo -n " ${L_arrow}${BOLD}LFS${R_arrow} build... "
     159        # The scripts pages are xincluded by the book, so must
     160        # be generated for running xsltproc
    159161        pushd $BOOK > /dev/null
    160162        if [ -f process-scripts.sh ]; then
     
    163165        popd > /dev/null
    164166
     167        # First profile the book, for revision and arch. Note that
     168        # MULTIBLIB is set to "default" if pure 64 bit book. In this
     169        # profiling on arch is useless, but does not hurt either.
    165170        xsltproc --nonet                                      \
    166171                 --xinclude                                   \
    167                  --stringparam revision       "$INITSYS"      \
     172                 --stringparam profile.revision "$INITSYS"    \
     173                 --stringparam profile.arch     "$MULTILIB"   \
     174                 --output prbook.xml                          \
     175                 $BOOK/stylesheets/lfs-xsl/profile.xsl        \
     176                 $BOOK/index.xml >> $LOGDIR/$LOG 2>&1
     177
     178        # Use the profiled book for generating the scriptlets
     179        xsltproc --nonet                                      \
    168180                 --stringparam testsuite      "$TEST"         \
    169181                 --stringparam bomb-testsuite "$BOMB_TEST"    \
     
    195207                 --output ./${PROGNAME}-commands/             \
    196208                 $XSL                                         \
    197                  $BOOK/index.xml >> $LOGDIR/$LOG 2>&1
     209                 prbook.xml >> $LOGDIR/$LOG 2>&1
    198210# Remove flags requesting user action in some cases. Much easier here than
    199211# in the stylesheet...
Note: See TracChangeset for help on using the changeset viewer.