summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-20 13:20:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-20 13:20:19 +0000
commit982276b91c37240a34ea6a6f4baaa981af10e289 (patch)
treeb2b02dd3db93aa3f1fbee8f48ec564948bc83f87
parent393a1f6897917ed72268218092ffd3499b5313b2 (diff)
downloaddrakx-982276b91c37240a34ea6a6f4baaa981af10e289.tar
drakx-982276b91c37240a34ea6a6f4baaa981af10e289.tar.gz
drakx-982276b91c37240a34ea6a6f4baaa981af10e289.tar.bz2
drakx-982276b91c37240a34ea6a6f4baaa981af10e289.tar.xz
drakx-982276b91c37240a34ea6a6f4baaa981af10e289.zip
(install_lilo): order fat partitions first
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index e7aec8add..a28684f5b 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -613,8 +613,8 @@ sub install_lilo ($$) {
my ($file) = @_;
if (arch() =~ /ia64/) {
(my $part, $file) = fsedit::file2part($prefix, $fstab, $file);
-# my %hds = map_index { $_ => "hd$::i" } sort map { $_->{device} } @$hds;
- my %hds = map_index { $_ => "hd$::i" } sort map { $_->{device} } map { @{$_->{primary}{normal}}, map {$_->{normal} } @{$_->{extended} || []} } @$hds;
+ my %hds = map_index { $_ => "hd$::i" } map { $_->{device} }
+ sort { isFat($b) <=> isFat($a) || $a->{device} cmp $b->{device} } get_fstab(@$hds);
%hds->{$part->{device}} . ":" . $file;
} else {
$file