[Fai-commit] r4057 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Fri Oct 6 21:28:13 UTC 2006
Author: lange
Date: 2006-10-06 21:28:13 +0000 (Fri, 06 Oct 2006)
New Revision: 4057
Modified:
trunk/bin/fai-cd
Log:
fix wrong path for sources.list
Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd 2006-10-06 21:25:23 UTC (rev 4056)
+++ trunk/bin/fai-cd 2006-10-06 21:28:13 UTC (rev 4057)
@@ -30,7 +30,7 @@
#*********************************************************************
set -e
-version="fai-cd 2.4.2, 15 september 2006"
+version="fai-cd 2.4.3, 6 october 2006"
burn=0
hidedirs="/usr/share/locale /usr/share/doc /var/lib/apt /var/cache/apt /usr/share/man /var/lib/dpkg/info /media/mirror/aptcache /media/mirror/.apt-move"
@@ -118,7 +118,7 @@
set +e
local d
- local dirs="boot $FAI media/mirror etc/fai/apt/sources.list"
+ local dirs="boot $FAI media/mirror etc/apt/sources.list"
for d in $dirs; do
umount $NFSROOT/$d 2>/dev/null
done
@@ -152,7 +152,7 @@
echo "deb file:/media/mirror $i $comp" >> $tmp1
done
- mount --bind $tmp1 $NFSROOT/etc/fai/apt/sources.list
+ mount --bind $tmp1 $NFSROOT/etc/apt/sources.list
customize_nfsroot
echo "Writing FAI CD-ROM image to $isoname. This may need some time."
mkisofs -V "$vname" -A "$aname" -log-file /dev/null -quiet -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -c boot.catalog -o $isoname $NFSROOT || die 12 "mkisofs failed."
More information about the Fai-commit
mailing list