Changeset 3da8c49 for common/libs/func_compare.sh
- Timestamp:
- 06/14/2020 07:08:19 AM (4 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- cce9c16
- Parents:
- b33c6ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_compare.sh
rb33c6ee r3da8c49 9 9 ITERATION=iteration-$N 10 10 if [ "$N" != "1" ] ; then 11 wrt_system_build "$ N" "$PREV_IT"11 wrt_system_build "$1" "$N" "$PREV_IT" 12 12 fi 13 # add needed Makefile target 13 14 this_script=$ITERATION 14 15 CHROOT_wrt_target "$ITERATION" "$PREV" … … 19 20 PREV=$ITERATION 20 21 done 22 # We need to prevent "userdel" in all iterations but the last 23 # We need to access the scriptlets in "dir" 24 local dir 25 printf -v dir chapter%02d "$1" 26 27 sed -i '/userdel/d' $dir/*revised* 28 for (( N = 2; N < ITERATIONS; N++ )); do 29 sed -i '/userdel/d' $dir-build_$N/*revised* 30 done 31 21 32 } 22 33 … … 24 35 wrt_system_build() { # 25 36 #----------------------------------# 26 local RUN=$1 27 local PREV_IT=$2 37 local CHAP=$1 38 local RUN=$2 39 local PREV_IT=$3 28 40 29 41 if [[ "$PROGNAME" = "clfs" ]] ; then 30 42 final_system_Makefiles $RUN 31 43 else 32 chapter 6_Makefiles$RUN44 chapter_targets $CHAP $RUN 33 45 fi 34 46 … … 36 48 basicsystem="$basicsystem $PREV_IT $system_build" 37 49 else 38 chapter6="$chapter6$PREV_IT $system_build"50 CHROOT_TGT="$CHROOT_TGT $PREV_IT $system_build" 39 51 fi 40 52 … … 43 55 basicsystem="$basicsystem iteration-$RUN" 44 56 else 45 chapter6="$chapter6iteration-$RUN"57 CHROOT_TGT="$CHROOT_TGT iteration-$RUN" 46 58 fi 47 59 fi … … 74 86 fi 75 87 fi 76 77 88 } 78 89
Note:
See TracChangeset
for help on using the changeset viewer.