r2526 - in jhalfs/branches/experimental: common extras

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Apr 10 12:07:34 PDT 2006


Author: manuel
Date: 2006-04-10 13:07:33 -0600 (Mon, 10 Apr 2006)
New Revision: 2526

Modified:
   jhalfs/branches/experimental/common/func_ICA.sh
   jhalfs/branches/experimental/extras/do_copy_files
Log:
Fixed build system copy.

Modified: jhalfs/branches/experimental/common/func_ICA.sh
===================================================================
--- jhalfs/branches/experimental/common/func_ICA.sh	2006-04-10 18:40:37 UTC (rev 2525)
+++ jhalfs/branches/experimental/common/func_ICA.sh	2006-04-10 19:07:33 UTC (rev 2526)
@@ -54,19 +54,15 @@
 #----------------------------------#
   local ITERATION=$1
   local      PREV=$2
+  local PRUNEPATH="/jhalfs /sources /var/log/paco /opt /dev /home /mnt /proc \
+/root /sys /tmp /usr/src /lost+found /tools"
 
   if [[ "$PROGNAME" = "clfs" ]] && [[ "$METHOD" = "boot" ]] ; then
-    local PRUNEPATH="/jhalfs /sources /var/log/paco /opt /dev /home /mnt /proc \
-/root /sys /tmp /usr/src /lost+found /tools"
     local    ROOT_DIR=/
     local DEST_TOPDIR=/jhalfs
     local   ICALOGDIR=/jhalfs/logs/ICA
     local FARCELOGDIR=/jhalfs/logs/farce
   else
-    local PRUNEPATH="$BUILDDIR/jhalfs $BUILDDIR/sources $BUILDDIR/var/log/paco \
-$BUILDDIR/opt $BUILDDIR/dev $BUILDDIR/home $BUILDDIR/mnt \
-$BUILDDIR/proc $BUILDDIR/root $BUILDDIR/sys $BUILDDIR/tmp \
-$BUILDDIR/usr/src $BUILDDIR/lost+found $BUILDDIR/tools"
     local    ROOT_DIR=$BUILDDIR
     local DEST_TOPDIR=$BUILDDIR/jhalfs
   fi

Modified: jhalfs/branches/experimental/extras/do_copy_files
===================================================================
--- jhalfs/branches/experimental/extras/do_copy_files	2006-04-10 18:40:37 UTC (rev 2525)
+++ jhalfs/branches/experimental/extras/do_copy_files	2006-04-10 19:07:33 UTC (rev 2526)
@@ -21,7 +21,7 @@
 # There might be an easier way to achieve tar exclusions? Strip
 # the leading /.
 for F in $1 ; do
-  echo ${F#*/} >> $TMP_FILE
+  echo .${F} >> $TMP_FILE
 done
 
 mkdir -p $3




More information about the alfs-log mailing list