[Tails-dev] [liveusb-creator] [PATCH] Add additional syslinu…

Delete this message

Reply to this message
Author: Yuval Adam
Date:  
To: tails-dev
Subject: [Tails-dev] [liveusb-creator] [PATCH] Add additional syslinux gptmbr.bin path
>From e198380548e2c956b4840de7769f98a7b162962b Mon Sep 17 00:00:00 2001
From: Yuval Adam <yuval@???>
Date: Mon, 15 Feb 2016 23:08:00 +0200
Subject: [PATCH] Add additional syslinux gptmbr.bin path

This path exists on Arch Linux systems, and since liveusb-creator is now
packaged for Arch we should probably add it
---
tails_installer/creator.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 38ec961..23659b4 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -1227,6 +1227,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
             for mbr_bin in ('/usr/lib/syslinux/mbr/gptmbr.bin',
                             '/usr/lib/SYSLINUX/gptmbr.bin',
                             '/usr/lib/syslinux/gptmbr.bin',
+                            '/usr/lib/syslinux/bios/gptmbr.bin',
                             '/usr/share/syslinux/gptmbr.bin'):
                 if os.path.exists(mbr_bin):
                     return mbr_bin
-- 
2.7.1