From 7ca2ba75bed92a5520f12c21920a2b2b07f23741 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 22 Aug 2005 15:07:38 +0000 Subject: enhance grub device.map parsing (bugzilla #17732) --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1