From f9d8ffe71cb58b7a46019269a56d13af9833c30c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 14 Aug 2002 20:09:59 +0000 Subject: fix "You can't install the bootloader on a xfs partition" happening in weird cases (thanks to Alan Hughes) --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/bootloader.pm') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 191f1e6df..274abe8ef 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1064,7 +1064,7 @@ IconIndex=0 sub install { my ($lilo, $fstab, $hds) = @_; - if (my ($p) = grep { $lilo->{boot} =~ /\Q$_->{device}/ } @$fstab) { + if (my ($p) = grep { $lilo->{boot} eq "/dev/$_->{device}" } @$fstab) { die _("You can't install the bootloader on a %s partition\n", partition_table::type2fs($p)) if isThisFs('xfs', $p); } -- cgit v1.2.1