SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Mon Sep 3 16:27:19 CEST 2007
Author: glen
Date: Mon Sep 3 16:27:18 2007
New Revision: 8712
Modified:
geninitrd/trunk/geninitrd
Log:
- can't guess is the parameter added or not, so adjust message
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Mon Sep 3 16:27:18 2007
@@ -1515,7 +1515,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, You should add ramdisk_size=$IMAGESIZE to your kernel commandline!"
+ echo >&2 "$0: 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
More information about the pld-cvs-commit
mailing list