Ignore:
Timestamp:
08/09/2017 02:10:46 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
91b7b5f
Parents:
dd08e14
Message:

common/libs/func_install_blfs: Add LFS to BLFS tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rdd08e14 rb8aa7ed  
    4242                                ${BUILDDIR}${BLFS_ROOT}/$BLFS_XML
    4343fi
     44
     45# Copy the LFS book. Note that now, the book is downloaded before running
     46# the BLFS tools.
     47cp -ruT --preserve=timestamps $BOOK \
     48                              ${BUILDDIR}${BLFS_ROOT}/$LFS_XML
     49
    4450# Downloads the book if necessary, initialize the tracking file and the
    4551# package database.
     
    4955          REV=$INITSYS                           \
    5056          TRACKING_DIR=$BUILDDIR$TRACKING_DIR    \
     57          LFS_XML=$BUILDDIR$BLFS_ROOT/$LFS_XML   \
     58          LFS-SVN=$SVN_2/LFS/$TREE               \
    5159          BLFS_XML=$BUILDDIR$BLFS_ROOT/$BLFS_XML \
    5260          SVN=$SVN_2/BLFS/$BLFS_TREE             \
     
    209217update:
    210218        @echo Updating the tracking file
    211         @for file in *-*; do \\
     219        @LFS_LIST=\$\$(cat $BLFS_ROOT/packages.xml | \\
     220                sed -n '/lfs-6/,/LFS-Release/p' | \\
     221                sed '/<sublist/,+1d' | \\
     222                sed -n '/<name>/p' | \\
     223                sed 's/<name>//;s/<\\/name>//'); \\
     224        for file in \$\$LFS_LIST *-*; do \\
    212225        xsltproc --stringparam packages ../packages.xml \\
    213226        --stringparam package \$\${file##*z-} \\
Note: See TracChangeset for help on using the changeset viewer.