diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-12-15 11:54:21 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-12-15 11:54:21 +0000 |
commit | 5671c368441f77724b7d277c5b2c4ca798d3b9c3 (patch) | |
tree | 0a974c9e3da3b68162ceb572b37ccad130e79220 /draklive | |
parent | 6a44b71a11e1423e2f24313a35d9867d56f8d035 (diff) | |
download | drakiso-5671c368441f77724b7d277c5b2c4ca798d3b9c3.tar drakiso-5671c368441f77724b7d277c5b2c4ca798d3b9c3.tar.gz drakiso-5671c368441f77724b7d277c5b2c4ca798d3b9c3.tar.bz2 drakiso-5671c368441f77724b7d277c5b2c4ca798d3b9c3.tar.xz drakiso-5671c368441f77724b7d277c5b2c4ca798d3b9c3.zip |
write image size in master list file
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1298,7 +1298,10 @@ sub record_usb_replicator { } record_rescue_files($live->{mnt}, $slash->{real_device}, [ get_disk_replicator_files($live) ]); - output_p($live->{mnt} . "/images/list", "EN,English," . basename(get_disk_image_path($live)) . ",on\n"); + + my $master_path = get_disk_master_path($live); + my $master_size = (stat($master_path))[7]; + output_p($live->{mnt} . "/images/list", "EN,English," . basename(get_disk_image_path($live)) . ",on,$master_size\n"); run_('umount', $slash->{real_device}); maybe_umount_device($slash->{real_device}); |