diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-08 20:21:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-08 20:21:17 +0000 |
commit | 1171ad3564c07efe790a9c22d9904a22e53d1490 (patch) | |
tree | 148f803360ea5d8e8c0e9c86d776912638f5630a /images | |
parent | 0326fd4fbc6a6f51fc899b10ff197823259c8e7c (diff) | |
download | drakx-1171ad3564c07efe790a9c22d9904a22e53d1490.tar drakx-1171ad3564c07efe790a9c22d9904a22e53d1490.tar.gz drakx-1171ad3564c07efe790a9c22d9904a22e53d1490.tar.bz2 drakx-1171ad3564c07efe790a9c22d9904a22e53d1490.tar.xz drakx-1171ad3564c07efe790a9c22d9904a22e53d1490.zip |
simplify
Diffstat (limited to 'images')
-rwxr-xr-x | images/make_boot_img | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/images/make_boot_img b/images/make_boot_img index 0b6a6dd7e..b94de01d6 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -14,10 +14,7 @@ my $default_acpi = ''; my $default_vga = "vga=788 splash=silent"; my $timeout = 150; my $lib = $arch eq 'x86_64' ? 'lib64' : 'lib'; -my $isolinux_bin = '/usr/lib/syslinux/isolinux-i586.bin'; -if ($arch eq 'x86_64') { - $isolinux_bin = '/usr/lib/syslinux/isolinux-x86_64.bin'; -} +my $isolinux_bin = '/usr/lib/syslinux/isolinux-' . ($arch eq 'x86_64' ? 'x86_64' : 'i586') . '.bin'; my $tmp_mnt = '/tmp/drakx_mnt'; my $tmp_initrd = '/tmp/drakx_initrd'; |