Author: glen
Date: Sat Oct  6 00:36:42 2007
New Revision: 8789

Modified:
   geninitrd/trunk/geninitrd
Log:
- more $PROGRAM usage

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Sat Oct  6 00:36:42 2007
@@ -1518,7 +1518,7 @@
                IMAGESIZE=$(du -ks $MNTPOINT | awk '{print 
int(($1+1023+512)/1024)*1024}')
                debug   "ext2 image size: $IMAGESIZE ($MNTPOINT)"
                if [ "$IMAGESIZE" -gt 4096 ]; then
-                       echo >&2 "$0: Your image size is larger than 4096, Be 
sure to boot kernel with ramdisk_size=$IMAGESIZE!"
+                       echo >&2 "$PROGRAM: Your image size is larger than 
4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
                fi
 
                dd if=/dev/zero of="$IMAGE" bs=1k count="$IMAGESIZE" 2> 
/dev/null
@@ -1537,7 +1537,7 @@
                IMAGESIZE=$(stat -c %s $IMAGE | awk '{print 
int((($1/1024)+1023+512)/1024)*1024}')
                debug   "romfs image size: $IMAGESIZE ($IMAGE)"
                if [ "$IMAGESIZE" -gt 4096 ]; then
-                       echo >&2 "$0: Your image size is larger than 4096, Be 
sure to boot kernel with ramdisk_size=$IMAGESIZE!"
+                       echo >&2 "$PROGRAM: Your image size is larger than 
4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
                fi
                ;;
        cram)
@@ -1547,7 +1547,7 @@
                (cd $MNTPOINT ; find . | cpio --quiet -H newc -o > "$IMAGE")
                ;;
        *)
-               echo "Filesystem $INITRDFS not supported by $0";
+               echo "Filesystem $INITRDFS not supported by $PROGRAM";
 esac
 
 if is_yes "$COMPRESS" ; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to