[Pkg-privacy-commits] [tails-installer] 03/05: Apply patch from #828 to prevent syslinux.cfg LABEL parameters from getting pruned.
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:15:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.13.3
in repository tails-installer.
commit 5585fac011acc35b45dde7ad0e51953ed3972d09
Author: Luke Macken <lmacken at redhat.com>
Date: Fri Feb 27 14:21:21 2015 -0700
Apply patch from #828 to prevent syslinux.cfg LABEL parameters from getting pruned.
Thanks to thisoneguy for the patch.
https://fedorahosted.org/liveusb-creator/ticket/828
---
liveusb/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liveusb/creator.py b/liveusb/creator.py
index 14f1977..7c9b0df 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -275,7 +275,7 @@ class LiveUSBCreator(object):
usblabel = 'LABEL=' + self.label
for line in infile.readlines():
if "LABEL" in line:
- line = re.sub("LABEL=[^ ]*", usblabel, line)
+ line = re.sub("LABEL=[^ :]*", usblabel, line)
line = re.sub("rootfstype=[^ ]*",
"rootfstype=%s" % self.fstype,
line)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list