Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 15:25:29 +0000
committerGitHub <noreply@github.com>2019-06-20 15:25:29 +0000
commit943ce56974dd4306b6b9d35b4cfbf118323b4835 (patch)
tree892a5729529f2852f2c3e10e38be27d07482c7c6 /archinstall.py
parentbcb4a2d6183e8e6ae8cdf97282f1ba340fcc45b1 (diff)
Some times systemd-boot splits output, so we gotta check trigger in the trace_log instead.
Slightly more taxing, but it yields better (accurate) results.
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 8756d9f1..5221e337 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -172,7 +172,7 @@ class sys_command():
lower = output.lower()
if 'triggers' in self.opts:
for trigger in list(self.opts['triggers']):
- if trigger.lower() in lower:
+ if trigger.lower() in trace_log.lower():
if 'debug' in self.opts and self.opts['debug']:
print('[N] Writing to subsystem: {}'.format(self.opts['triggers'][trigger]))
os.write(child_fd, self.opts['triggers'][trigger])