From 79f86172db0b043c01f0be18d7aa254a08ad2662 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 30 Sep 2008 16:57:05 +0000 Subject: - 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) --- perl-install/NEWS | 6 ++++-- perl-install/standalone/bootloader-config | 3 ++- 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 -- cgit v1.2.1