Update debian/patches/02_more_verbose_toram.diff
authorMichael Prokop <devnull@localhost>
Thu, 1 Nov 2007 22:45:40 +0000 (23:45 +0100)
committerMichael Prokop <devnull@localhost>
Thu, 1 Nov 2007 22:45:40 +0000 (23:45 +0100)
debian/patches/02_more_verbose_toram.diff

index 9ed4f4f..a05fcd5 100755 (executable)
@@ -7,7 +7,7 @@
 @DPATCH@
 
 --- a/scripts/live     2007-11-01 22:25:41.567739580 +0100
-+++ b/scripts/live     2007-11-01 23:03:02.413731337 +0100
++++ b/scripts/live     2007-11-01 23:44:38.221948775 +0100
 @@ -609,9 +609,19 @@
        else
                if [ -n "${MODULETORAMFILE}" ]
 -                      cp ${MODULETORAMFILE} ${copyto} # copy only the filesystem module
 -              else
 -                      cp -a ${copyfrom}/* ${copyto}   # "cp -a" from busybox also copies hidden files
-+                        log_begin_msg "Copying $MODULETORAMFILE to RAM" >/dev/console
 +                      if [ -x /usr/bin/rsync ] ; then
++                      echo " * Copying $MODULETORAMFILE to RAM" 1>/dev/console
 +                         rsync -a --progress ${MODULETORAMFILE} ${copyto} 1>/dev/console # copy only the filesystem module
 +                      else
 +                         cp ${MODULETORAMFILE} ${copyto} # copy only the filesystem module
 +                      fi
 +              else
-+                        log_begin_msg "Copying medium to RAM" >/dev/console
 +                      if [ -x /usr/bin/rsync ] ; then
++                      echo " * Copying medium to RAM" 1>/dev/console
 +                         rsync -a --progress ${copyfrom}/* ${copyto} 1>/dev/console  # "cp -a" from busybox also copies hidden files
 +                      else
 +                         cp -a ${copyfrom}/* ${copyto}   # "cp -a" from busybox also copies hidden files