[Fai-commit] r4334 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Wed Jun 13 12:54:15 UTC 2007


Author: lange
Date: 2007-06-13 12:54:15 +0000 (Wed, 13 Jun 2007)
New Revision: 4334

Modified:
   trunk/bin/fai-cd
Log:
fixing some messages


Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd	2007-06-13 12:44:57 UTC (rev 4333)
+++ trunk/bin/fai-cd	2007-06-13 12:54:15 UTC (rev 4334)
@@ -66,8 +66,6 @@
 # - - - - - - - - - - - - - - - - - - - - - - - - - -
 create_grub_image() {
 
-    echo -n "Creating grub boot image ..."
-
     mkdir -p $tmp/boot/grub $nfsrootdir
     [ -d $NFSROOT//usr/lib/grub ] && cp $NFSROOT/usr/lib/grub/i386-pc/stage2_eltorito $tmp/boot/grub/
     # for sarge
@@ -78,7 +76,6 @@
     cp $NFSROOT/boot/vmlinuz-$kernelversion $tmp/boot/vmlinuz
     cp $NFSROOT/boot/initrd.img-$kernelversion $tmp/boot/initrd.img
     cp $NFSROOT/boot/config-$kernelversion $tmp/boot/
-    echo "done"
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - -
 customize_nfsroot() {
@@ -129,9 +126,9 @@
 
     # Create the El Torito bootable iso9660 cdrom image
 
-    echo "Mounting all needed parts"
+    echo "Bind mounting all required parts"
 
-    mount --bind $NFSROOT $nfsrootdir
+    mount --bind $NFSROOT $nfsrootdir && echo "NFSROOT mounted"
     mkdir -p $nfsrootdir/media/mirror || true
 
     > $nfsrootdir/etc/RUNNING_FROM_FAICD




More information about the Fai-commit mailing list