summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS6
-rwxr-xr-xperl-install/standalone/bootloader-config3
2 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d1bdd7b0c..34315d4da 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- bootloader-config:
- o --action migrate-to-uuids: do not migrate non sdx/hdx to UUID
- (bootloader config)
+ o --action migrate-to-uuids:
+ o do not migrate non sdx/hdx to UUID (bootloader config)
+ o do migrate dmraid device names to UUID
+ (because of xxx1 vs xxxp1 device name issue, cf #44182)
- reduce banner font size
Version 11.60 - 30 September 2008
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