diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-14 20:09:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-14 20:09:59 +0000 |
commit | f9d8ffe71cb58b7a46019269a56d13af9833c30c (patch) | |
tree | cf0a8adabf9f2720b068991d316702b702b20547 /perl-install | |
parent | fc908be85a06101899c0d82187d3138f93d7ec3e (diff) | |
download | drakx-backup-do-not-use-f9d8ffe71cb58b7a46019269a56d13af9833c30c.tar drakx-backup-do-not-use-f9d8ffe71cb58b7a46019269a56d13af9833c30c.tar.gz drakx-backup-do-not-use-f9d8ffe71cb58b7a46019269a56d13af9833c30c.tar.bz2 drakx-backup-do-not-use-f9d8ffe71cb58b7a46019269a56d13af9833c30c.tar.xz drakx-backup-do-not-use-f9d8ffe71cb58b7a46019269a56d13af9833c30c.zip |
fix "You can't install the bootloader on a xfs partition" happening in weird cases (thanks to Alan Hughes)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |