summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-12-29 18:13:38 +0000
committerOlivier Blin <oblin@mandriva.org>2005-12-29 18:13:38 +0000
commitfecd9e2fafea932f7106ce475ab2729fb1437d1e (patch)
tree8d674679884931bc66cd57d6396bfa2a849b74bc /tools
parent3cc1df77e352831b2eaaa30bbb5e8556c0263718 (diff)
downloaddrakx-fecd9e2fafea932f7106ce475ab2729fb1437d1e.tar
drakx-fecd9e2fafea932f7106ce475ab2729fb1437d1e.tar.gz
drakx-fecd9e2fafea932f7106ce475ab2729fb1437d1e.tar.bz2
drakx-fecd9e2fafea932f7106ce475ab2729fb1437d1e.tar.xz
drakx-fecd9e2fafea932f7106ce475ab2729fb1437d1e.zip
use --inplace option in rsync, to avoid missing space when overwriting an existing live system
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index f2b9fa17b..187df0eb0 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -634,7 +634,7 @@ sub record_usb_master {
cp_f($live->{workdir} . get_syslinux_path($live, $media, $opts->{boot_only}), $live->{mnt});
cp_f($live->{workdir} . $_, $live->{mnt}) foreach
get_initrd_path($live, $media), map { $live->{prefix}{boot} . '/' . $_ } qw(vmlinuz live.msg);
- run_('rsync', '-vdP', $live->{workdir} . $live->{prefix}{loopbacks} . '/', $live->{mnt} . $live->{prefix}{loopbacks})
+ run_('rsync', '-vdP', '--inplace', $live->{workdir} . $live->{prefix}{loopbacks} . '/', $live->{mnt} . $live->{prefix}{loopbacks})
unless $opts->{boot_only};
run_('umount', $live->{mnt});
maybe_umount_device($device);