diff options
author | Arnaud Patard <rtp@mageia.org> | 2011-03-18 21:33:51 +0000 |
---|---|---|
committer | Arnaud Patard <rtp@mageia.org> | 2011-03-18 21:33:51 +0000 |
commit | d91143bbd32de6eecd6a43d4bed7f2fa4da1e077 (patch) | |
tree | 98f922eaec29c34912d7d7dbf30803304d04a2cf /perl-install/standalone/bootloader-config | |
parent | 2bfae95a970f4c7284a2484fb967bbf9174c2cc6 (diff) | |
download | drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.gz drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.bz2 drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.tar.xz drakx-d91143bbd32de6eecd6a43d4bed7f2fa4da1e077.zip |
- import stage1/drakxtools arm support
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-x | perl-install/standalone/bootloader-config | 9 |
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"; } } |