summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-11 10:02:51 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-11 10:02:51 +0000
commite31d6a0a327bb9d63e912df578afa2da96898063 (patch)
treee1f6e04520810ec80d3dbeecf214b094e3a85520
parent419e2de474770458eb4f91be1d03549135b14f21 (diff)
downloaddraklive-e31d6a0a327bb9d63e912df578afa2da96898063.tar
draklive-e31d6a0a327bb9d63e912df578afa2da96898063.tar.gz
draklive-e31d6a0a327bb9d63e912df578afa2da96898063.tar.bz2
draklive-e31d6a0a327bb9d63e912df578afa2da96898063.tar.xz
draklive-e31d6a0a327bb9d63e912df578afa2da96898063.zip
supplement partitions before formatting disk
-rwxr-xr-xdraklive4
1 files changed, 4 insertions, 0 deletions
diff --git a/draklive b/draklive
index c3b7725..f730386 100755
--- a/draklive
+++ b/draklive
@@ -782,6 +782,10 @@ sub format_master {
sub format_disk {
my ($live, $opts) = @_;
+
+ my $slash_size = guess_disk_master_size($live);
+ $live->{media}->supplement_partitions($slash_size);
+
format_master($live, $live->{media}, $opts);
}