Changeset 854854e for common


Ignore:
Timestamp:
11/16/2013 10:35:25 PM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
e58cf153
Parents:
d023a35
Message:
  • Make the number of parallel jobs configurable in the menuconfig interface
  • Allow choosing a working copy of the blfs book
Location:
common/libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rd023a35 r854854e  
    2727    ${BUILDDIR}${BLFS_ROOT}/Makefile
    2828
    29 # Downloads the book, initialize the tracking file and the package database
     29# If we have a working copy, copy it:
     30if [[ "$BLFS_WORKING_COPY" = "y" ]]; then
     31  cp -r $BLFS_WC_LOCATION ${BUILDDIR}${BLFS_ROOT}/blfs-xml
     32fi
     33# Downloads the book if necessary, initialize the tracking file and the
     34# package database.
    3035# sudo is needed if $BUILDDIR/var/lib is owned by root and /var/lib/jhalfs
    3136# has to be created
  • common/libs/func_validate_configs.sh

    rd023a35 r854854e  
    5454  local -r clfs2_PARAM_LIST="$CLFS2_book $GENERAL_common $CLFS2_build                  $ADVANCED_common"
    5555  local -r clfs3_PARAM_LIST="$CLFS3_book $GENERAL_common $CLFS3_build                  $ADVANCED_common"
    56   local -r  blfs_PARAM_LIST="BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR"
    57 
    58   # Additional variables (add DEP_DBXSL when required again)
    59   local -r blfs_tool_PARAM_LIST="BLFS_BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR \
    60                                  DEP_LIBXML DEP_LIBXSLT DEP_TIDY \
    61                                  DEP_DBXML DEP_LYNX DEP_SUDO DEP_WGET \
    62                                  DEP_SVN DEP_GPM DEP_OPENSSL DEP_PYTHON"
     56#  local -r  blfs_PARAM_LIST="BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR"
     57
     58  # Additional variables
     59  local -r blfs_tool_PARAM_LIST="\
     60     BLFS_TREE BLFS_BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR \
     61     DEP_LIBXML DEP_LIBXSLT DEP_TIDY DEP_DBXML DEP_LYNX DEP_SUDO DEP_WGET \
     62     DEP_SVN DEP_GPM DEP_OPENSSL DEP_PYTHON"
    6363  local -r custom_tool_PARAM_LIST="TRACKING_DIR"
    6464
     
    185185               ;;
    186186
    187       # BLFS params.
    188       BRANCH_ID | BLFS_ROOT | BLFS_XML )  echo "`eval echo $PARAM_VALS`" ;;
    189       TRACKING_DIR ) validate_dir -z -d -w ;;
    190 
    191187      # Display non-validated envars found in ${PROGNAME}_PARAM_LIST
    192188      * ) echo -e "`eval echo $PARAM_VALS`" ;;
Note: See TracChangeset for help on using the changeset viewer.