r3126 - jhalfs/branches/experimental/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Sep 16 12:05:46 PDT 2006


Author: manuel
Date: 2006-09-16 13:05:45 -0600 (Sat, 16 Sep 2006)
New Revision: 3126

Modified:
   jhalfs/branches/experimental/common/func_compare.sh
Log:
Fixed ICA/farce runs, I hope.

Modified: jhalfs/branches/experimental/common/func_compare.sh
===================================================================
--- jhalfs/branches/experimental/common/func_compare.sh	2006-09-16 18:00:25 UTC (rev 3125)
+++ jhalfs/branches/experimental/common/func_compare.sh	2006-09-16 19:05:45 UTC (rev 3126)
@@ -26,13 +26,27 @@
   local PREV_IT=$2
 
   if [[ "$PROGNAME" = "clfs" ]] && [[ "$METHOD" = "chroot" ]] ; then
-    final_system_Makefiles $RUN
+    chroot_final_system_Makefiles $RUN
   elif [[ "$PROGNAME" = "clfs" ]] && [[ "$METHOD" = "boot" ]] ; then
-    bm_final_system_Makefiles $RUN
+    boot_final_system_Makefiles $RUN
   else
     chapter6_Makefiles $RUN
   fi
 
+  if [[ "$PROGNAME" = "clfs" ]] ; then
+    basicsystem="$basicsystem $PREV_IT $system_build"
+  else
+    chapter6="$chapter6 $PREV_IT $system_build"
+  fi
+
+  if [[ "$RUN" = "$ITERATIONS" ]] ; then
+    if [[ "$PROGNAME" = "clfs" ]] ; then
+      basicsystem="$basicsystem iteration-$RUN"
+    else
+      chapter6="$chapter6 iteration-$RUN"
+    fi
+  fi
+
   echo -e "\nsystem_build_$RUN: $PREV_IT $system_build" >> $MKFILE.tmp
 }
 
@@ -44,15 +58,10 @@
   local PRUNEPATH="/dev /home /${SCRIPT_ROOT} /lost+found /media /mnt /opt /proc \
 /sources /root /srv /sys /tmp /tools /usr/local /usr/src /var/log/paco"
 
-  if [[ "$PROGNAME" = "clfs" ]] && [[ "$METHOD" = "boot" ]] ; then
-    local    ROOT_DIR=/
-    local DEST_TOPDIR=/${SCRIPT_ROOT}
-    local   ICALOGDIR=/${SCRIPT_ROOT}/logs/ICA
-    local FARCELOGDIR=/${SCRIPT_ROOT}/logs/farce
-  else
-    local    ROOT_DIR=$BUILDDIR
-    local DEST_TOPDIR=$BUILDDIR/${SCRIPT_ROOT}
-  fi
+  local    ROOT_DIR=/
+  local DEST_TOPDIR=/${SCRIPT_ROOT}
+  local   ICALOGDIR=/${SCRIPT_ROOT}/logs/ICA
+  local FARCELOGDIR=/${SCRIPT_ROOT}/logs/farce
 
   if [[ "$RUN_ICA" = "y" ]] ; then
     local DEST_ICA=$DEST_TOPDIR/ICA && \




More information about the alfs-log mailing list