summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2013-12-21 14:18:57 +0000
committerTails developers <tails@boum.org>2013-12-21 14:18:57 +0000
commit3ff95a08a725f0cafc4db7e10e8a8e7fc9a7e214 (patch)
treefb658090bddcf2fff0ef5c0f91f475d19b6ef84f
parentf1c3fe8e52724c61b2c9ee5b19aa8efcf8aa1aa8 (diff)
Support paths used in syslinux 6.x.
-rwxr-xr-xliveusb/creator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/liveusb/creator.py b/liveusb/creator.py
index befd318..e3a1899 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -1085,7 +1085,9 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
def _get_mbr_bin(self):
mbr = None
- for mbr_bin in ('/usr/lib/syslinux/gptmbr.bin',
+ for mbr_bin in ('/usr/lib/syslinux/mbr/gptmbr.bin',
+ '/usr/lib/SYSLINUX/gptmbr.bin',
+ '/usr/lib/syslinux/gptmbr.bin',
'/usr/share/syslinux/gptmbr.bin'):
if os.path.exists(mbr_bin):
mbr = mbr_bin