summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-17 11:51:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-17 11:51:29 +0000
commitd1098abfb443fb7cf8cbc97ad96a303fa5c749f8 (patch)
treef4fdf2f84e041b554bd964cc5de47a8c95b203da /perl-install/fs
parent1d2aeea6110b4e3b8db35e33f5543153a8b41bc6 (diff)
downloaddrakx-backup-do-not-use-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar
drakx-backup-do-not-use-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.gz
drakx-backup-do-not-use-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.bz2
drakx-backup-do-not-use-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.tar.xz
drakx-backup-do-not-use-d1098abfb443fb7cf8cbc97ad96a303fa5c749f8.zip
- bootloader-config:
o --action migrate-to-uuids: do not migrate software raid to UUID (#43928) also fix a small typo in bootloader-config
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/wild_device.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm
index f31390d9e..4e2a3a849 100644
--- a/perl-install/fs/wild_device.pm
+++ b/perl-install/fs/wild_device.pm
@@ -79,7 +79,7 @@ sub to_subpart {
sub _prefer_device_UUID {
my ($part) = @_;
$part->{prefer_device_UUID} ||
- !$::no_uuid_by_default && $part->{device} =~ /^(hd|sd)/;
+ !$::no_uuid_by_default && devices::should_prefer_UUID($part->{device});
}
sub from_part {