From b7ee561c16d0adde6b33add2da03d318da06b868 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 16 Feb 2016 11:29:58 +0200 Subject: Add syslinux path patch to tails-installer --- 0001-syslinux-path.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 0001-syslinux-path.patch (limited to '0001-syslinux-path.patch') diff --git a/0001-syslinux-path.patch b/0001-syslinux-path.patch new file mode 100644 index 0000000..628c507 --- /dev/null +++ b/0001-syslinux-path.patch @@ -0,0 +1,34 @@ +From 65a2b31fa89ff27251ae30ad3bb3a22d4ef6dff0 Mon Sep 17 00:00:00 2001 +From: Yuval Adam +Date: Mon, 15 Feb 2016 23:08:00 +0200 +Subject: [PATCH] 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 +--- + tails_installer/creator.py | 2 ++ + 1 file changed, 2 insertions(+) + +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 +-- +2.7.1 + -- cgit v1.3.1