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 | aaa0ae1a57622d64d3d9c0b87fb28f338da061e7 (patch) | |
tree | 148f803360ea5d8e8c0e9c86d776912638f5630a /images | |
parent | 4f765bef02fe0d7f18674bccd5bed99e1e1f1a60 (diff) | |
download | drakx-backup-do-not-use-aaa0ae1a57622d64d3d9c0b87fb28f338da061e7.tar drakx-backup-do-not-use-aaa0ae1a57622d64d3d9c0b87fb28f338da061e7.tar.gz drakx-backup-do-not-use-aaa0ae1a57622d64d3d9c0b87fb28f338da061e7.tar.bz2 drakx-backup-do-not-use-aaa0ae1a57622d64d3d9c0b87fb28f338da061e7.tar.xz drakx-backup-do-not-use-aaa0ae1a57622d64d3d9c0b87fb28f338da061e7.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'; |