summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-02-15 23:08:00 +0200
committerintrigeri <intrigeri@boum.org>2016-02-18 16:54:04 +0000
commitc3fc07c64eb7b1ae1f7aef61ba7fcc7853123be2 (patch)
tree467f6986aa5a4e2d627090bc4bb6c8ccda62997a
parent5f2ebe44b16dad5cf586bd0b708e8eb4baa463dd (diff)
Add additional syslinux paths
This path exists on Arch Linux systems, and since liveusb-creator is now packaged for Arch we should probably add it
-rwxr-xr-xtails_installer/creator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 38ec961..4683c3c 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -997,6 +997,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
for com32mod in com32modules:
copied = False
for orig_dir in ('/usr/lib/syslinux/modules/bios',
+ '/usr/lib/syslinux/bios',
'/usr/share/syslinux',
'/usr/lib/syslinux'):
com32path = os.path.join(orig_dir, com32mod)
@@ -1227,6 +1228,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