Adjust path of rsync (use /bin)
authorMichael Prokop <devnull@localhost>
Sun, 20 Jul 2008 14:34:21 +0000 (16:34 +0200)
committerMichael Prokop <devnull@localhost>
Sun, 20 Jul 2008 14:34:21 +0000 (16:34 +0200)
debian/changelog
debian/patches/01_add_rsync.dpatch
debian/patches/02_more_verbose_toram.diff

index 7523a3c..29e7b31 100644 (file)
@@ -1,3 +1,9 @@
+live-initramfs (1.136.2-2~grml.01) unstable; urgency=low
+
+  * Adjust path of rsync (use /bin).
+
+ -- Michael Prokop <mika@grml.org>  Sun, 20 Jul 2008 16:33:59 +0200
+
 live-initramfs (1.136.2-2~grml.00) unstable; urgency=low
 
   * Rebase against current version of live-initramfs in Debian.
index f634c92..1bb04d3 100755 (executable)
@@ -12,7 +12,7 @@
  # Filesystem: jffs2
  manual_add_modules jffs2
  
-+copy_exec /usr/bin/rsync
++copy_exec /usr/bin/rsync /bin
 +
  # Filesystem: squashfs
  copy_exec /sbin/losetup /sbin
index da7f5fe..e8955be 100755 (executable)
 -                      cp ${MODULETORAMFILE} ${copyto} # copy only the filesystem module
 -              else
 -                      cp -a ${copyfrom}/* ${copyto}   # "cp -a" from busybox also copies hidden files
-+                      if [ -x /usr/bin/rsync ] ; then
++                      if [ -x /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
-+                      if [ -x /usr/bin/rsync ] ; then
++                      if [ -x /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