diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-01 13:07:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-01 13:07:51 +0000 |
commit | 69e0a94455480ee159cee04847e531d5d771f82b (patch) | |
tree | ee6ef4c557767de5ec79ce13832872e457a6442b /perl-install/standalone | |
parent | b8d90de064669c1d80e39dc8bff4dcd446bd1465 (diff) | |
download | drakx-69e0a94455480ee159cee04847e531d5d771f82b.tar drakx-69e0a94455480ee159cee04847e531d5d771f82b.tar.gz drakx-69e0a94455480ee159cee04847e531d5d771f82b.tar.bz2 drakx-69e0a94455480ee159cee04847e531d5d771f82b.tar.xz drakx-69e0a94455480ee159cee04847e531d5d771f82b.zip |
- bootloader-config (and other tools): handle /dev/mapper/xxx1 instead of
/dev/mapper/xxxp1 (#44182)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/bootloader-config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index e070c37ea..35c117983 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -285,6 +285,7 @@ sub _migrate_to_uuids__fstab() { or log::l("migrate_to_uuids: no UUID for $part->{device}, can not migrate it"), next; $part->{prefer_device_UUID} = 1; $part->{prefer_device} = 0; + delete $part->{device_alias} if $part->{device_alias} && $part->{device_alias} =~ m!\bmapper/!; # see fs::dmraid::migrate_device_names() for more log::l("migrate_to_uuids: migrating fstab $part->{device} entry"); $fstab_migrated = 1; |