Author: glen
Date: Sat Oct  6 00:38:57 2007
New Revision: 8790

Modified:
   geninitrd/trunk/geninitrd
Log:
- no extra 512b needed for romfs

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Sat Oct  6 00:38:57 2007
@@ -1534,7 +1534,7 @@
                ;;
        rom)
                genromfs -f "$IMAGE" -d "$MNTPOINT" -V "PLD initrd for kernel 
$kernel"
-               IMAGESIZE=$(stat -c %s $IMAGE | awk '{print 
int((($1/1024)+1023+512)/1024)*1024}')
+               IMAGESIZE=$(stat -c %s $IMAGE | awk '{print 
int((($1/1024)+1023)/1024)*1024}')
                debug   "romfs image size: $IMAGESIZE ($IMAGE)"
                if [ "$IMAGESIZE" -gt 4096 ]; then
                        echo >&2 "$PROGRAM: Your image size is larger than 
4096, Be sure to boot kernel with ramdisk_size=$IMAGESIZE!"
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to