summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-29 13:17:21 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-29 13:17:21 +0000
commit60d8d749fc2413ddf868a05faeb5fd03a80c6f95 (patch)
tree25305aeb4372e6345df33f2d8ac846ee44c9d288
parentc7b7774ec6f9c4c6b659a8a3111bc55a69c561f0 (diff)
downloaddraklive-60d8d749fc2413ddf868a05faeb5fd03a80c6f95.tar
draklive-60d8d749fc2413ddf868a05faeb5fd03a80c6f95.tar.gz
draklive-60d8d749fc2413ddf868a05faeb5fd03a80c6f95.tar.bz2
draklive-60d8d749fc2413ddf868a05faeb5fd03a80c6f95.tar.xz
draklive-60d8d749fc2413ddf868a05faeb5fd03a80c6f95.zip
fill fs_type for / partition
-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});