summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-09 14:32:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-09 14:32:28 +0000
commite94b108c2f253ada585f3b9f2323a6ccf6787ea0 (patch)
treea70b54ed9bebe8f641f46c29a24c1d7e94507947 /perl-install/fs
parentf019b21180311a8b62fa224347fe6495249be24c (diff)
downloaddrakx-e94b108c2f253ada585f3b9f2323a6ccf6787ea0.tar
drakx-e94b108c2f253ada585f3b9f2323a6ccf6787ea0.tar.gz
drakx-e94b108c2f253ada585f3b9f2323a6ccf6787ea0.tar.bz2
drakx-e94b108c2f253ada585f3b9f2323a6ccf6787ea0.tar.xz
drakx-e94b108c2f253ada585f3b9f2323a6ccf6787ea0.zip
- diskdrake
o keep current UUID when formatting ext2/ext3 (was already done for swap), so that fstab on other distros continue to work (requires e2fsprogs-1.41.1-2mnb2)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/format.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 90f6cc89a..101ea4b80 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -96,7 +96,7 @@ sub part_raw {
push @options, '-l', "Untitled";
} elsif (isAppleBootstrap($part)) {
push @options, '-l', 'bootstrap';
- } elsif ($fs_type eq 'swap') {
+ } elsif (member($fs_type, 'swap', 'ext2', 'ext3')) {
push @options, '-U', $part->{device_UUID} if $part->{device_UUID};
}