summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-08 20:21:17 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-08 20:21:17 +0000
commitaaa0ae1a57622d64d3d9c0b87fb28f338da061e7 (patch)
tree148f803360ea5d8e8c0e9c86d776912638f5630a
parent4f765bef02fe0d7f18674bccd5bed99e1e1f1a60 (diff)
downloaddrakx-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
-rwxr-xr-ximages/make_boot_img5
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';