From 02b8c08fd0e19f8da20f0db436102501c9f90110 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 19 Dec 2005 16:34:37 +0000 Subject: use rsync to copy files on usb media --- tools/draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); -- cgit v1.2.1