summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-11-09 19:08:34 +0159
committerThomas Backlund <tmb@mageia.org>2013-11-09 19:08:34 +0159
commitda0127bead15d00731c964efebaa21a9bca31a15 (patch)
tree230aec901d8e9343265320d6800d6a76678e87ff
parentd97b35cf4894394d8b8f45c994f36935ecc7b8eb (diff)
downloaddraklive-install-da0127bead15d00731c964efebaa21a9bca31a15.tar
draklive-install-da0127bead15d00731c964efebaa21a9bca31a15.tar.gz
draklive-install-da0127bead15d00731c964efebaa21a9bca31a15.tar.bz2
draklive-install-da0127bead15d00731c964efebaa21a9bca31a15.tar.xz
draklive-install-da0127bead15d00731c964efebaa21a9bca31a15.zip
use the new /run/mgalive/ovlsize mountpoint to determine image size
-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() {