[Fai-commit] r4388 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Thu Jul 5 21:48:08 UTC 2007
Author: lange
Date: 2007-07-05 21:48:08 +0000 (Thu, 05 Jul 2007)
New Revision: 4388
Modified:
trunk/lib/subroutines-linux
Log:
fix worng path, fix message
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2007-07-05 20:46:30 UTC (rev 4387)
+++ trunk/lib/subroutines-linux 2007-07-05 21:48:08 UTC (rev 4388)
@@ -129,10 +129,10 @@
# copy the base file class based if it exists
[ -d $FAI/basefiles ] && ftar -1v -s $FAI/basefiles /
if [ $? -ne 0 ]; then
- [ $do_init_tasks -eq 0 ] && basefile=$NFSROOT/var/tmp/base.tgz
+ [ $do_init_tasks -eq 0 ] && basefile=$NFSROOT/live/filesystem.dir/var/tmp/base.tgz
[ -f $basefile ] || die "$basefile not found. Can't extract it. Aborting."
# extract the tar file which was the result of debootstrap
- echo "Extracting $NFSROOT/var/tmp/base.tgz"
+ echo "Extracting $basefile"
gzip -dc $basefile | tar -C $FAI_ROOT -xpf -
fi
# now we can copy fstab
More information about the Fai-commit
mailing list