From d91143bbd32de6eecd6a43d4bed7f2fa4da1e077 Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Fri, 18 Mar 2011 21:33:51 +0000 Subject: - import stage1/drakxtools arm support --- perl-install/standalone/bootloader-config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/bootloader-config') 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"; } } -- cgit v1.2.1