Ignore:
Timestamp:
03/02/2017 04:40:34 PM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
a9dadcf
Parents:
eb8667a
Message:

Merge trunk rev 3896:
Unless explicitely set on the command line, the REV parameter
in BLFS tools make is the same as the preceding used one. Formerly, it
was set to sysv unless defined on the command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-blfs-tools.sh

    reb8667a r796cd28  
    1212BLFS_BRANCH_ID: development, branch-xxx, xxx (where xxx is a valid tag)
    1313                (default development)
     14INIT_SYSTEM   : which book do you want? 'sysv' or 'systemd' (default sysv)
    1415Examples:
    15161 - If you plan to use the tools to build BLFS on top of LFS, but you did not
    1617use jhalfs, or forgot to include the jhalfs-blfs tools:
    1718(as root) mkdir -p /var/lib/jhalfs/BLFS && chown -R <user> /var/lib/jhalfs
    18 (as user) ./install-blfs-tools.sh
    19 2 - To install with only user privileges:
     19(as user) INIT_SYSTEM=<your system> ./install-blfs-tools.sh
     202 - To install with only user privileges (default to sysv):
    2021TRACKING_DIR=$HOME/blfs_root/trackdir ./install-blfs-tools.sh
    2122inline_doc
     
    5758BLFS_ROOT="${BLFS_ROOT:=/blfs_root}"
    5859TRACKING_DIR="${TRACKING_DIR:=/var/lib/jhalfs/BLFS}"
     60INIT_SYSTEM="${INIT_SYSTEM:=sysv}"
    5961
    6062[[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}"
     
    9193cp README.BLFS ${BUILDDIR}${BLFS_ROOT}
    9294[[ $VERBOSITY > 0 ]] && echo "... OK"
    93 [[ $VERBOSITY > 0 ]] && echo -n Cleaning the ${BUILDDIR}${BLFS_ROOT} directory
    9495
    9596# Clean-up
     97[[ $VERBOSITY > 0 ]] && echo Cleaning the ${BUILDDIR}${BLFS_ROOT} directory
    9698make -C ${BUILDDIR}${BLFS_ROOT}/menu clean
    9799rm -rf ${BUILDDIR}${BLFS_ROOT}/libs/.svn
     
    113115[[ $VERBOSITY > 0 ]] && echo "... OK"
    114116
    115 [[ $VERBOSITY > 0 ]] && echo -n "Downloading and validating the book (may take some time)"
     117[[ $VERBOSITY > 0 ]] && echo "Downloading and validating the book (may take some time)"
    116118make -j1 -C $BUILDDIR$BLFS_ROOT \
    117119     TRACKING_DIR=$TRACKING_DIR \
     120     REV=$INIT_SYSTEM            \
    118121     SVN=svn://svn.linuxfromscratch.org/BLFS/$BLFS_TREE \
    119122     $BUILDDIR$BLFS_ROOT/packages.xml
Note: See TracChangeset for help on using the changeset viewer.