diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-08 07:09:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-08 07:09:53 +0000 |
commit | 98a4be8ec81d7865a4655fc322b52e866e1c64a2 (patch) | |
tree | a49eb4ac07edbb66eb6cc97b83eec393ed6a1a78 | |
parent | 36e09f42b776f5e6d1cd30dac2f48d6e7e3a2a1d (diff) | |
download | drakx-98a4be8ec81d7865a4655fc322b52e866e1c64a2.tar drakx-98a4be8ec81d7865a4655fc322b52e866e1c64a2.tar.gz drakx-98a4be8ec81d7865a4655fc322b52e866e1c64a2.tar.bz2 drakx-98a4be8ec81d7865a4655fc322b52e866e1c64a2.tar.xz drakx-98a4be8ec81d7865a4655fc322b52e866e1c64a2.zip |
don't set toFormat if we don't have a {fs_type} (eg: pt_type 0xfd, ie raw raid)
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 32b12a0c6..235bc8753 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -262,7 +262,7 @@ sub choosePartitionsToFormat($$) { $_->{mntpoint} = "swap" if isSwap($_); $_->{mntpoint} or next; - add2hash_($_, { toFormat => $_->{notFormatted} }); + add2hash_($_, { toFormat => $_->{notFormatted} }) if $_->{fs_type}; #- eg: don't set toFormat for isRawRAID (0xfd) $_->{$::recovery ? 'toFormat' : 'toFormatUnsure'} ||= member($_->{mntpoint}, '/', '/usr'); if (!$_->{toFormat}) { |