Changeset 53f291f


Ignore:
Timestamp:
10/16/2006 06:17:01 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
e7655b2
Parents:
93d32cf
Message:

Using TRACKING_DIR for CUSTOM_TOOLS.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Config.in

    r93d32cf r53f291f  
    268268        #--- End HLFS specific params
    269269
     270        #--- Custom Tools support
     271        config CUSTOM_TOOLS
     272                bool    "Add custom tool support"
     273                default n
     274                depends on BOOK_LFS
     275                help
     276                        #--- Activating this option additional packages you create
     277                        #    will be installed.
     278                        #
     279        #--- End Custom Tools support
     280
    270281        #--- blfs-tool Support
    271282        config BLFS_TOOL
     
    390401                string "Installed packages database directory"
    391402                default "/var/lib/jhalfs/BLFS"
    392                 depends on BOOK_BLFS || BLFS_TOOL
     403                depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
    393404                help
    394405                        #-- Full path to the directory where the installed
    395406                        #   packages database will be created.
    396407                        #
    397                         #   You MUST to create manually this directory.
     408                        #   If you are installing blfs-tool on a running xLFS system
     409                        #   you MUST to create manually this directory.
     410                        #
     411                        #   If you are installing blfs-tool as part of a xLFS build
     412                        #   and/or using the customized scripts feature, you will
     413                        #   need to fix that directory permissions after booting
     414                        #   the new system.
    398415                        #
    399416                        #   Note that the user that will build the packages must
    400417                        #   have read and write privileges on that directory.
    401418        #--- End BLFS specific params
    402        
    403         #--- Custom Tools support
    404         config CUSTOM_TOOLS
    405                 bool    "Add custom tool support"
    406                 default n
    407                 depends on BOOK_LFS
    408                 help
    409                         #--- Activating this option additional packages you create
    410                         #    will be installed.
    411                         #
    412         #--- End Custom Tools support
    413        
     419
    414420#--- End BOOK Settings
    415421endmenu
  • common/custom_pkgs

    r93d32cf r53f291f  
    2121mk_CUSTOM_TOOLS:
    2222        @\$(call echo_CHROOT_request)
    23         @ sudo mkdir -p /home/georgeb/TRIAL/var/lib/jhalfs/BLFS
     23        @ sudo mkdir -p ${BUILDDIR}${TRACKING_DIR}
    2424        @( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make CUSTOM_TOOLS")
    2525        @touch \$@
     
    4949        @\$(call remove_build_dirs2,${PKG})
    5050        @touch \$@
    51         @touch /var/lib/jhalfs/BLFS/${PKG}-${PKG_VERSION}
     51        @touch ${TRACKING_DIR}/${PKG}-${PKG_VERSION}
    5252        @\$(call housekeeping)
    5353EOF
  • common/func_validate_configs.sh

    r93d32cf r53f291f  
    2828
    2929  local -r  blfs_tool_PARAM_LIST="BLFS_BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR DEP_LIBXML DEP_LIBXSLT DEP_TIDY DEP_UNZIP DEP_DBXML DEP_DBXSL DEP_LINKS DEP_SUDO DEP_WGET DEP_SVN DEP_GPM"
     30  local -r custom_tool_PARAM_LIST="TRACKING_DIR"
    3031
    3132  local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,'
     
    191192  fi
    192193
     194  if [[ "${CUSTOM_TOOLS}" = "y" ]] && [[ "${BLFS_TOOL}" = "n" ]]  ; then
     195    for config_param in ${custom_tool_PARAM_LIST}; do
     196      echo -e "`eval echo $PARAM_VALS`"
     197    done
     198  fi
     199
    193200  set -e
    194201  echo "${nl_}***${BOLD}${GREEN} ${PARAM_GROUP%%_*T} config parameters look good${OFF} ***${nl_}"
Note: See TracChangeset for help on using the changeset viewer.