diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-19 16:34:37 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-19 16:34:37 +0000 |
commit | 02b8c08fd0e19f8da20f0db436102501c9f90110 (patch) | |
tree | 1e5be5117cfb052b2e68e9b944d9a51865b8c522 /tools | |
parent | 85dd63c7c70e7fde793474ef239f16d748c1f073 (diff) | |
download | drakx-02b8c08fd0e19f8da20f0db436102501c9f90110.tar drakx-02b8c08fd0e19f8da20f0db436102501c9f90110.tar.gz drakx-02b8c08fd0e19f8da20f0db436102501c9f90110.tar.bz2 drakx-02b8c08fd0e19f8da20f0db436102501c9f90110.tar.xz drakx-02b8c08fd0e19f8da20f0db436102501c9f90110.zip |
use rsync to copy files on usb media
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/draklive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive index 3ace38cd9..a3ee59488 100755 --- a/tools/draklive +++ b/tools/draklive @@ -555,7 +555,7 @@ sub record_usb_master { unless ($opts->{refresh_boot_only}) { foreach (grep { $_->{build_from} || $_->{pre_allocate} } @{$live->{mount}{dirs} || []}) { print "copying $_->{source}\n"; - cp_f($live->{images_dir} . '/' . $_->{source}, $live->{mnt}); + run_('rsync', '-vP', $live->{workdir} . $live->{prefix}{images} . '/' . $_->{source}, $live->{mnt}); } } run_('umount', $live->{mnt}); |