summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive3
1 files changed, 3 insertions, 0 deletions
diff --git a/draklive b/draklive
index 5cac591..0d43ed6 100755
--- a/draklive
+++ b/draklive
@@ -683,6 +683,9 @@ sub allocate_master {
MDV::Draklive::Utils::device_allocate_file($dest, $disk_size);
+ my $slash = find { $_->{mntpoint} eq '/' } @{$media->{partitions}};
+ $slash->{fs_type} = $fs;
+
#- FIXME: use parted?
require fs::type;
my $pt_type = sprintf('%x', fs::type::fs_type2subpart($fs)->{pt_type});