SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Wed Mar 14 14:03:49 CET 2012
Author: glen
Date: Wed Mar 14 14:03:48 2012
New Revision: 12487
Modified:
geninitrd/trunk/geninitrd
Log:
warn when CONFIG_BLK_DEV_RAM_SIZE was not detected
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Wed Mar 14 14:03:48 2012
@@ -1425,6 +1425,7 @@
CONFIG_BLK_DEV_RAM_SIZE=$(ikconfig | awk -F= '/^CONFIG_BLK_DEV_RAM_SIZE/{print $2}')
if [ -z "$CONFIG_BLK_DEV_RAM_SIZE" ]; then
CONFIG_BLK_DEV_RAM_SIZE=4096
+ warn "No CONFIG_BLK_DEV_RAM_SIZE detected, fallback to $CONFIG_BLK_DEV_RAM_SIZE"
fi
if [ "$IMAGESIZE" -gt $CONFIG_BLK_DEV_RAM_SIZE ]; then
More information about the pld-cvs-commit
mailing list