summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive5
1 files changed, 4 insertions, 1 deletions
diff --git a/draklive b/draklive
index 94c231b..f0ba70a 100755
--- a/draklive
+++ b/draklive
@@ -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});