[master 1/1] use inst.debug as alternative option to start coverage

atodorov installerbot-noreply at redhat.com
Thu Aug 13 09:31:19 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 anaconda | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/anaconda b/anaconda
index 4d62aba..808409e 100755
--- a/anaconda
+++ b/anaconda
@@ -36,7 +36,8 @@ coverage = None
 # If we get a signal immediately after starting that would be pretty messed up
 proc_cmdline = open("/proc/cmdline", "r").read()    # pylint: disable=interruptible-system-call
 proc_cmdline = proc_cmdline.split()
-if ("debug=1" in proc_cmdline) or ("debug" in proc_cmdline):
+if ("debug=1" in proc_cmdline) or ("debug" in proc_cmdline) or        \
+    ("inst.debug=1" in proc_cmdline) or ("inst.debug" in proc_cmdline):
     import coverage
     cov = coverage.coverage(data_file="/mnt/sysimage/root/anaconda.coverage",
                             branch=True,


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/bbed93f74517b3e30ee1ef44f38ec3e70dae7c28


More information about the anaconda-patches mailing list