[archiso] Replace rsync with cp

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

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-07-31 19:52:09 -03:00
parent a2d2022ccf
commit ab7c443a4a
2 changed files with 2 additions and 3 deletions

3
README
View File

@ -376,7 +376,6 @@ EOF
** For mkarchiso script needs these packages (build host): ** For mkarchiso script needs these packages (build host):
+ squashfs-tools for mksquashfs + squashfs-tools for mksquashfs
+ libisoburn for xorriso + libisoburn for xorriso
+ rsync for rsync
+ btrfs-progs for mkfs.btrfs (optional) + btrfs-progs for mkfs.btrfs (optional)
** For configs/releng build.sh needs theses packages (build host): ** 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) *** Building official Arch Linux live media. (configs/releng)
* Install needed packages. * 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. * Install archiso.
# git clone git://projects.archlinux.org/archiso.git # git clone git://projects.archlinux.org/archiso.git

View File

@ -361,7 +361,7 @@ _mkfs () {
_msg_info "Done!" _msg_info "Done!"
_mount_fs "${_fs_img}" "${work_dir}/mnt/${_src}" _mount_fs "${_fs_img}" "${work_dir}/mnt/${_src}"
_msg_info "Copying '${_fs_src}/' to '${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!" _msg_info "Done!"
_umount_fs "${work_dir}/mnt/${_src}" _umount_fs "${work_dir}/mnt/${_src}"
} }