Changeset 645ec47 for common/libs


Ignore:
Timestamp:
11/15/2023 05:24:22 PM (11 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
3c43655
Parents:
1352172
git-author:
Pierre Labastie <pierre.labastie@…> (11/15/2023 05:04:05 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/15/2023 05:24:22 PM)
Message:

Reorganize advanced options in Config.in

  • Put parallelization menu first
  • Fix the logic for variable definitions in this menu
  • change jhalfs to reflect the separation of optimization and parallelization
  • validate new variables
  • remove MAKEFLAGS from the validation of optimize variables
  • also remove the black list, which has not been used in years.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_validate_configs.sh

    r1352172 r645ec47  
    3636
    3737  # Full list of books settings
    38   local -r   lfs_PARAM_LIST="$LFS_book   $GENERAL_common $LFS_build $LFS_system  $ADVANCED_chroot N_PARALLEL REALSBU SAVE_CH5 $ADVANCED_common"
     38  local -r   lfs_PARAM_LIST="$LFS_book   $GENERAL_common $LFS_build $LFS_system  $ADVANCED_chroot ALL_CORES CPUSET N_PARALLEL REALSBU SAVE_CH5 $ADVANCED_common"
    3939#  local -r  blfs_PARAM_LIST="BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR"
    4040
     
    134134      RETRYDOWNLOADCNT) [[ "$GETPKG" = "y" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
    135135      DOWNLOADTIMEOUT)  [[ "$GETPKG" = "y" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
    136       N_PARALLEL)       [[ "$OPTIMIZE" -gt "0" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
    137       REALSBU)          [[ "$OPTIMIZE" = "2" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
     136      CPUSET)           [[ "$HAVE_CGROUP" = "y" ]] && [[ "$ALL_CORES" = "y" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
     137      N_PARALLEL)       [[ "$ALL_CORES" = "n" ]] && echo -e "`eval echo $PARAM_VALS`" ;;
    138138
    139139      # Envars that requires some validation
Note: See TracChangeset for help on using the changeset viewer.