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/standalone/bootloader-config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/bootloader-config') 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