Be more verbose if we do not have enough memory for toram
authorMichael Prokop <devnull@localhost>
Wed, 20 Feb 2008 15:00:41 +0000 (16:00 +0100)
committerMichael Prokop <devnull@localhost>
Wed, 20 Feb 2008 15:00:41 +0000 (16:00 +0100)
debian/changelog
debian/patches/02_more_verbose_toram.diff

index 47ef292..37b09f5 100644 (file)
@@ -1,3 +1,10 @@
+live-initramfs (1.110.7-2~grml.03) unstable; urgency=low
+
+  * Update debian/patches/02_more_verbose_toram.diff: be more
+    verbose if we don't have enough memory for toram.
+
+ -- Michael Prokop <mika@grml.org>  Wed, 20 Feb 2008 15:58:42 +0100
+
 live-initramfs (1.110.7-2~grml.02) unstable; urgency=low
 
   * Add initial support for LZMA.
index a05fcd5..d2bcab2 100755 (executable)
@@ -6,9 +6,18 @@
 
 @DPATCH@
 
---- a/scripts/live     2007-11-01 22:25:41.567739580 +0100
-+++ b/scripts/live     2007-11-01 23:44:38.221948775 +0100
-@@ -609,9 +609,19 @@
+--- a/scripts/live     Mon Nov 26 00:11:21 2007 +0100
++++ b/scripts/live     Wed Feb 20 15:57:57 2008 +0100
+@@ -593,7 +593,7 @@ copy_live_to ()
+       if [ "${freespace}" -lt "${size}" ]
+       then
+-              [ "${quiet}" != "y" ] && log_warning_msg "Not enough free ${free_string} (${freespace}k free, ${size}k needed) to copy live media in ${copytodev}."
++              log_warning_msg "Not enough free ${free_string} (${freespace}k free, ${size}k needed) to copy live media in ${copytodev}."
+               return 1
+       fi
+@@ -612,9 +612,19 @@ copy_live_to ()
        else
                if [ -n "${MODULETORAMFILE}" ]
                then