Fixed build system copy.
This commit is contained in:
parent
13f114550e
commit
5181eb35df
2 changed files with 3 additions and 7 deletions
|
@ -54,19 +54,15 @@ wrt_prepare() { #
|
|||
#----------------------------------#
|
||||
local ITERATION=$1
|
||||
local PREV=$2
|
||||
|
||||
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"
|
||||
|
||||
if [[ "$PROGNAME" = "clfs" ]] && [[ "$METHOD" = "boot" ]] ; then
|
||||
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
|
||||
|
|
|
@ -21,7 +21,7 @@ TMP_FILE=/tmp/prunelist
|
|||
# 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
|
||||
|
|
Reference in a new issue