Changeset 84440e6 for install-blfs-tools.sh
- Timestamp:
- 03/02/2017 04:38:25 PM (8 years ago)
- Branches:
- 2.4, ablfs-more, legacy, trunk
- Children:
- df97e68
- Parents:
- 70d73d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
install-blfs-tools.sh
r70d73d1 r84440e6 12 12 BLFS_BRANCH_ID: development, branch-xxx, xxx (where xxx is a valid tag) 13 13 (default development) 14 INIT_SYSTEM : which book do you want? 'sysv' or 'systemd' (default sysv) 14 15 Examples: 15 16 1 - If you plan to use the tools to build BLFS on top of LFS, but you did not 16 17 use jhalfs, or forgot to include the jhalfs-blfs tools: 17 18 (as root) mkdir -p /var/lib/jhalfs/BLFS && chown -R <user> /var/lib/jhalfs 18 (as user) ./install-blfs-tools.sh19 2 - To install with only user privileges :19 (as user) INIT_SYSTEM=<your system> ./install-blfs-tools.sh 20 2 - To install with only user privileges (default to sysv): 20 21 TRACKING_DIR=$HOME/blfs_root/trackdir ./install-blfs-tools.sh 21 22 inline_doc … … 57 58 BLFS_ROOT="${BLFS_ROOT:=/blfs_root}" 58 59 TRACKING_DIR="${TRACKING_DIR:=/var/lib/jhalfs/BLFS}" 60 INIT_SYSTEM="${INIT_SYSTEM:=sysv}" 59 61 60 62 [[ $VERBOSITY > 0 ]] && echo "${SD_BORDER}${nl_}" … … 91 93 cp README.BLFS ${BUILDDIR}${BLFS_ROOT} 92 94 [[ $VERBOSITY > 0 ]] && echo "... OK" 93 [[ $VERBOSITY > 0 ]] && echo -n Cleaning the ${BUILDDIR}${BLFS_ROOT} directory94 95 95 96 # Clean-up 97 [[ $VERBOSITY > 0 ]] && echo Cleaning the ${BUILDDIR}${BLFS_ROOT} directory 96 98 make -C ${BUILDDIR}${BLFS_ROOT}/menu clean 97 99 rm -rf ${BUILDDIR}${BLFS_ROOT}/libs/.svn … … 113 115 [[ $VERBOSITY > 0 ]] && echo "... OK" 114 116 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)" 116 118 make -j1 -C $BUILDDIR$BLFS_ROOT \ 117 119 TRACKING_DIR=$TRACKING_DIR \ 120 REV=$INIT_SYSTEM \ 118 121 SVN=svn://svn.linuxfromscratch.org/BLFS/$BLFS_TREE \ 119 122 $BUILDDIR$BLFS_ROOT/packages.xml
Note:
See TracChangeset
for help on using the changeset viewer.