Changeset 53f291f
- Timestamp:
- 10/16/2006 06:17:01 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e7655b2
- Parents:
- 93d32cf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Config.in
r93d32cf r53f291f 268 268 #--- End HLFS specific params 269 269 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 270 281 #--- blfs-tool Support 271 282 config BLFS_TOOL … … 390 401 string "Installed packages database directory" 391 402 default "/var/lib/jhalfs/BLFS" 392 depends on BOOK_BLFS || BLFS_TOOL 403 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS 393 404 help 394 405 #-- Full path to the directory where the installed 395 406 # packages database will be created. 396 407 # 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. 398 415 # 399 416 # Note that the user that will build the packages must 400 417 # have read and write privileges on that directory. 401 418 #--- 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 414 420 #--- End BOOK Settings 415 421 endmenu -
common/custom_pkgs
r93d32cf r53f291f 21 21 mk_CUSTOM_TOOLS: 22 22 @\$(call echo_CHROOT_request) 23 @ sudo mkdir -p /home/georgeb/TRIAL/var/lib/jhalfs/BLFS23 @ sudo mkdir -p ${BUILDDIR}${TRACKING_DIR} 24 24 @( sudo \$(CHROOT2) "cd \$(SCRIPT_ROOT) && make CUSTOM_TOOLS") 25 25 @touch \$@ … … 49 49 @\$(call remove_build_dirs2,${PKG}) 50 50 @touch \$@ 51 @touch /var/lib/jhalfs/BLFS/${PKG}-${PKG_VERSION}51 @touch ${TRACKING_DIR}/${PKG}-${PKG_VERSION} 52 52 @\$(call housekeeping) 53 53 EOF -
common/func_validate_configs.sh
r93d32cf r53f291f 28 28 29 29 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" 30 31 31 32 local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,' … … 191 192 fi 192 193 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 193 200 set -e 194 201 echo "${nl_}***${BOLD}${GREEN} ${PARAM_GROUP%%_*T} config parameters look good${OFF} ***${nl_}"
Note:
See TracChangeset
for help on using the changeset viewer.