summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--draklive-install2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c016b82..5c0bd39 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- use the new /run/mgalive/ovlsize mountpoint to determine image size
+
1.39
- ask to confirm exiting (mga#1812)
diff --git a/draklive-install b/draklive-install
index caf256c..b847d7f 100644
--- a/draklive-install
+++ b/draklive-install
@@ -218,7 +218,7 @@ sub get_total_size {
state %total;
return $total{$source} if $total{$source};
my $_wait = $in->wait_message('', N("Computing total size"));
- $total{$source} = first(split(/\s+/, `du -sbx $source 2>/dev/null`));
+ $total{$source} = first(split(/\s+/, `du -sbx /run/mgalive/ovlsize 2>/dev/null`));
}
sub sync_logs() {