diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-29 18:13:38 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-29 18:13:38 +0000 |
commit | fecd9e2fafea932f7106ce475ab2729fb1437d1e (patch) | |
tree | 8d674679884931bc66cd57d6396bfa2a849b74bc /tools/draklive | |
parent | 3cc1df77e352831b2eaaa30bbb5e8556c0263718 (diff) | |
download | drakx-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/draklive')
-rwxr-xr-x | tools/draklive | 2 |
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); |