summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/bootloader-config
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-30 16:57:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-30 16:57:05 +0000
commit79f86172db0b043c01f0be18d7aa254a08ad2662 (patch)
treeac6aa74bf26da09e6e1903192b5414030b70513d /perl-install/standalone/bootloader-config
parent2287b7b6a3d93901d526a6dcf244b5c9effae919 (diff)
downloaddrakx-79f86172db0b043c01f0be18d7aa254a08ad2662.tar
drakx-79f86172db0b043c01f0be18d7aa254a08ad2662.tar.gz
drakx-79f86172db0b043c01f0be18d7aa254a08ad2662.tar.bz2
drakx-79f86172db0b043c01f0be18d7aa254a08ad2662.tar.xz
drakx-79f86172db0b043c01f0be18d7aa254a08ad2662.zip
- bootloader-config:
o --action migrate-to-uuids: o do migrate dmraid device names to UUID (because of xxx1 vs xxxp1 device name issue, cf #44182)
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-xperl-install/standalone/bootloader-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index 590c96d3e..e070c37ea 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -308,7 +308,8 @@ sub _migrate_dev_to_uuid {
sub _should_prefer_UUID {
my ($part) = @_;
- devices::should_prefer_UUID($part->{device});
+ devices::should_prefer_UUID($part->{device})
+ || $part->{device} =~ m!\bmapper/!; # we want to migrate dmraid devices, because of xxx1 vs xxxp1 device name issue
}
# add UUID to swap v.2 in case the swap was created long ago when mkswap didn't do it by default