diff options
Diffstat (limited to 'images/make_boot_img')
-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'; |