[Fai-commit] r3917 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Sep 11 15:19:11 UTC 2006


Author: lange
Date: 2006-09-11 15:19:11 +0000 (Mon, 11 Sep 2006)
New Revision: 3917

Modified:
   trunk/bin/fai-cd
Log:
fix path


Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd	2006-09-11 15:05:04 UTC (rev 3916)
+++ trunk/bin/fai-cd	2006-09-11 15:19:11 UTC (rev 3917)
@@ -116,7 +116,7 @@
 
     set +e
     local d
-    local dirs="boot $FAI media/mirror etc/apt/sources.list"
+    local dirs="boot $FAI media/mirror etc/fai/apt/sources.list"
     for d in $dirs; do
 	umount $NFSROOT/$d 2>/dev/null
     done
@@ -150,7 +150,7 @@
 	echo "deb file:/media/mirror $i $comp" >> $tmp1
     done
 
-    mount --bind $tmp1 $NFSROOT/etc/apt/sources.list
+    mount --bind $tmp1 $NFSROOT/etc/fai/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