[Fai-commit] r4320 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Tue Jun 12 17:05:49 UTC 2007
Author: lange
Date: 2007-06-12 17:05:49 +0000 (Tue, 12 Jun 2007)
New Revision: 4320
Modified:
trunk/bin/fai-cd
Log:
fix path, clean options for mkisofs
Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd 2007-06-12 16:50:45 UTC (rev 4319)
+++ trunk/bin/fai-cd 2007-06-12 17:05:49 UTC (rev 4320)
@@ -124,7 +124,7 @@
echo "Mounting all needed parts"
- mkdir -p $NFSROOT/media/mirror
+ mkdir -p $nfsrootdir/media/mirror
mount --bind $NFSROOT $nfsrootdir
> $nfsrootdir/etc/RUNNING_FROM_FAICD
@@ -150,8 +150,7 @@
mount --bind $tmp1 $nfsrootdir/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."
- mkisofs -V "$vname" -A "$aname" -quiet -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o $isoname $tmp || die 12 "mkisofs failed."
+ 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 -o $isoname $tmp || die 12 "mkisofs failed."
echo -n "ISO image size and filename: "; du -h $isoname
rm $tmp1
unhide_dirs
More information about the Fai-commit
mailing list