diff options
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-x | perl-install/standalone/bootloader-config | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index 1eea36be8..4306a5e44 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -54,7 +54,14 @@ if ($image) { } $image = "/boot/$image" if $image !~ m!^/!; } elsif ($kernel_version) { - $image = "/boot/vmlinuz-$kernel_version"; + # FIXME : test for vmlinux or vmlinuz existence and choose + # instead of using arch() + if (arch() =~ /mips/) { + $image = "/boot/vmlinux-$kernel_version"; + } + else { + $image = "/boot/vmlinuz-$kernel_version"; + } } |