summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-22 15:07:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-22 15:07:38 +0000
commit7ca2ba75bed92a5520f12c21920a2b2b07f23741 (patch)
tree7759ab1c72a7032b854c16a1c9ccd0b77120d71c /perl-install/bootloader.pm
parenta723a6e26fc5be438675cc29b636f0b61547ec32 (diff)
downloaddrakx-backup-do-not-use-7ca2ba75bed92a5520f12c21920a2b2b07f23741.tar
drakx-backup-do-not-use-7ca2ba75bed92a5520f12c21920a2b2b07f23741.tar.gz
drakx-backup-do-not-use-7ca2ba75bed92a5520f12c21920a2b2b07f23741.tar.bz2
drakx-backup-do-not-use-7ca2ba75bed92a5520f12c21920a2b2b07f23741.tar.xz
drakx-backup-do-not-use-7ca2ba75bed92a5520f12c21920a2b2b07f23741.zip
enhance grub device.map parsing (bugzilla #17732)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 3b0c3634a..e7a9cbdd3 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1229,7 +1229,7 @@ sub device2grub {
}
sub read_grub_device_map() {
- my %grub2dev = map { m!\((.*)\) /dev/(.*)$! } cat_("$::prefix/boot/grub/device.map");
+ my %grub2dev = map { m!\((.*)\)\s+/dev/(.*)$! } cat_("$::prefix/boot/grub/device.map");
\%grub2dev;
}
sub write_grub_device_map {