summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-07-31 19:52:09 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-01 20:16:45 -0300
commitab7c443a4a2a96248d5a0118073a2abfcc713497 (patch)
tree1e97f45b18de300cd0dd83139fa2dfe16956cc76
parenta2d2022ccf3e24b4083d887741f13e826887e0a4 (diff)
downloadarchiso32-ab7c443a4a2a96248d5a0118073a2abfcc713497.tar.xz
[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>
-rw-r--r--README3
-rwxr-xr-xarchiso/mkarchiso2
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}"
}