Changeset 0fa52f2 for jhalfs


Ignore:
Timestamp:
03/01/2022 08:09:30 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
9a86aa58
Parents:
4c36783
Message:

Remove legacy: Remove almost all occurrences of CLFS/clfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r4c36783 r0fa52f2  
    198198case $BRANCH_ID in
    199199  development )
    200     case $PROGNAME in
    201       clfs* ) TREE="" ;;
    202           * ) TREE=trunk ;;
    203     esac
     200    TREE=trunk
    204201    LFSVRS=development
    205202    ;;
     
    208205            exit 2 ;;
    209206  branch-* )
    210     case $PROGNAME in
    211       lfs )
    212         LFSVRS=${BRANCH_ID}
    213         TREE=${BRANCH_ID#branch-}
    214         ;;
    215       clfs* )
    216         LFSVRS=${BRANCH_ID}
    217         TREE=${BRANCH_ID#branch-}
    218         ;;
    219     esac
     207    LFSVRS=${BRANCH_ID}
     208    TREE=${BRANCH_ID#branch-}
    220209    ;;
    221210  * )
    222     case $PROGNAME in
    223       lfs )
    224         LFSVRS=${BRANCH_ID}
    225         TREE=${BRANCH_ID}
    226         ;;
    227       clfs* )
    228         LFSVRS=${BRANCH_ID}
    229         TREE=clfs-${BRANCH_ID}
    230         ;;
    231       * )
    232     esac
     211    LFSVRS=${BRANCH_ID}
     212    TREE=${BRANCH_ID}
    233213    ;;
    234214esac
     
    240220#--- Envars not sourced from configuration
    241221# shellcheck disable=SC2034
    242 case $PROGNAME in
    243   clfs ) declare -r GIT="git://git.clfs.org/cross-lfs" ;;
    244   clfs2 ) declare -r GIT="git://git.clfs.org/clfs-sysroot" ;;
    245   clfs3 ) declare -r GIT="git://git.clfs.org/clfs-embedded" ;;
    246   *) declare -r GIT="git://git.linuxfromscratch.org" ;;
    247 esac
    248 
     222declare -r GIT="git://git.linuxfromscratch.org"
    249223declare -r LOG=000-masterscript.log
    250224
     
    385359  cp "$COMMON_DIR"/{packages.xsl,chroot.xsl,kernfs.xsl} "$JHALFSDIR/"
    386360
    387 # Fix the XSL book parser
    388   case $PROGNAME in
    389     clfs* ) sed 's,FAKEDIR,'"${BOOK}/BOOK"',' "${PACKAGE_DIR}/${XSL}" > "${JHALFSDIR}/${XSL}" ;;
    390     * ) ;;
    391   esac
    392361  export XSL=$JHALFSDIR/${XSL}
    393362
     
    460429# When regenerating the Makefile, we need to know also the
    461430# canonical book version
    462   case $PROGNAME in
    463     clfs* )
    464       VERSION=$(xmllint --noent "$BOOK/prologue/$ARCH/bookinfo.xml" 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    465     lfs)
    466       VERSION=$(grep 'echo.*lfs-release' "$JHALFSDIR/prbook.xml" | sed 's/.*echo[ ]*\([^ ]*\).*/\1/')
    467       ;;
    468     *)
    469       VERSION=$(xmllint --noent "$BOOK/prologue/bookinfo.xml" 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    470   esac
     431VERSION=$(grep 'echo.*lfs-release' "$JHALFSDIR/prbook.xml" | sed 's/.*echo[ ]*\([^ ]*\).*/\1/')
    471432fi
    472433
Note: See TracChangeset for help on using the changeset viewer.