summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/bootloader-config
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-xperl-install/standalone/bootloader-config9
1 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index 4306a5e44..b1582469c 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -58,8 +58,13 @@ if ($image) {
# instead of using arch()
if (arch() =~ /mips/) {
$image = "/boot/vmlinux-$kernel_version";
- }
- else {
+ } elsif (arch() =~ /arm/) {
+ if ($kernel_version =~ /versatile/) {
+ $image = "/boot/vmlinuz-$kernel_version";
+ } else {
+ $image = "/boot/uImage-$kernel_version";
+ }
+ } else {
$image = "/boot/vmlinuz-$kernel_version";
}
}