diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-07-01 04:34:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-07-01 04:34:43 +0000 |
commit | 2c6051c628974a1eded49f8895f6c4611008a17b (patch) | |
tree | d1fd28483d049265c1911dca6fd2247f093c0f6f /perl-install | |
parent | 35e125c9162dea1e60b3f34f8f85923f2b90a2f0 (diff) | |
download | drakx-2c6051c628974a1eded49f8895f6c4611008a17b.tar drakx-2c6051c628974a1eded49f8895f6c4611008a17b.tar.gz drakx-2c6051c628974a1eded49f8895f6c4611008a17b.tar.bz2 drakx-2c6051c628974a1eded49f8895f6c4611008a17b.tar.xz drakx-2c6051c628974a1eded49f8895f6c4611008a17b.zip |
mkinitrd only handle ext2/ext3 labels, so disallow labels on "/" for other fs types
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs/format.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 93882788f..97ce94740 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -100,7 +100,8 @@ sub part_raw { log::l("shortening LABEL $part->{device_LABEL} to $short"); $part->{device_LABEL} = $short; } - delete $part->{prefer_device_LABEL} if !$handled_by_mount; + delete $part->{prefer_device_LABEL} + if !$handled_by_mount || $part->{mntpoint} eq '/' && !member($fs_type, 'ext2', 'ext3'); push @options, $option, $part->{device_LABEL}; } else { |