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+github@gmail.com>2019-11-29 16:12:10 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 16:12:10 +0100
commit7b1968fa9a27eedb195e0d3e9d416413dafe71bb (patch)
tree163f6fd65511b464206f3a632580258d58831d98 /archinstall.py
parent735a2b02e90131dd2621c7430d4621be88fee4e3 (diff)
Adding more debug output
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 2794b1a8..feb73093 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -294,6 +294,10 @@ class sys_command():#Thread):
poller = epoll()
poller.register(child_fd, EPOLLIN | EPOLLHUP)
+ if 'events' in self.kwargs and 'debug' in self.kwargs:
+ print(f'[D] Using triggers for command: {self.cmd}')
+ print(json.dumps(self.kwargs['events']))
+
alive = True
last_trigger_pos = 0
while alive and not self.kwargs['emulate']: