summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive2
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});