[arch-releng] [PATCH 9/9] [archiso] Replace rsync with cp

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu Aug 2 21:08:36 EDT 2012


It does not make sense, since filesystem inside the imege is re-formated.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 README            | 3 +--
 archiso/mkarchiso | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 5bf64f0..2494e64 100644
--- a/README
+++ b/README
@@ -376,7 +376,6 @@ EOF
 ** For mkarchiso script needs these packages (build host):
  + squashfs-tools          for mksquashfs
  + libisoburn              for xorriso
- + rsync                   for rsync
  + btrfs-progs             for mkfs.btrfs (optional)
 
 ** For configs/releng build.sh needs theses packages (build host):
@@ -471,7 +470,7 @@ used to build official images with much more things.
 *** Building official Arch Linux live media. (configs/releng)
 
 * Install needed packages.
-  # pacman -S git make squashfs-tools libisoburn rsync dosfstools lynx patch --needed
+  # pacman -S git make squashfs-tools libisoburn dosfstools lynx patch --needed
 
 * Install archiso.
   # git clone git://projects.archlinux.org/archiso.git
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index c8fc6ff..e3a3346 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -361,7 +361,7 @@ _mkfs () {
     _msg_info "Done!"
     _mount_fs "${_fs_img}" "${work_dir}/mnt/${_src}"
     _msg_info "Copying '${_fs_src}/' to '${work_dir}/mnt/${_src}/'..."
-    rsync -aH "${_fs_src}/" "${work_dir}/mnt/${_src}/"
+    cp -aT "${_fs_src}/" "${work_dir}/mnt/${_src}/"
     _msg_info "Done!"
     _umount_fs "${work_dir}/mnt/${_src}"
 }
-- 
1.7.11.4



More information about the arch-releng mailing list