From ab7c443a4a2a96248d5a0118073a2abfcc713497 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 31 Jul 2012 19:52:09 -0300 Subject: [archiso] Replace rsync with cp It does not make sense, since filesystem inside the imege is re-formated. Signed-off-by: Gerardo Exequiel Pozzi --- 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}" } -- cgit v1.2.2