Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-06 12:14:04 +0100
committerAnton Hvornum <anton@hvornum.se>2021-11-06 12:14:04 +0100
commitd9aa7e6b34a969b46f97a24b9387d215605747c8 (patch)
tree6e96673c625502c82df62c7886c6cdd19620c6f3
parentd363bad27c047cbefd60c1b93181067df74c6188 (diff)
Added a delay on systemd-nspawn
This to avoid "Transport endpoint is not connected"
-rw-r--r--archinstall/lib/systemd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/systemd.py b/archinstall/lib/systemd.py
index a7e35839..4df347c6 100644
--- a/archinstall/lib/systemd.py
+++ b/archinstall/lib/systemd.py
@@ -1,4 +1,5 @@
import logging
+import time
from .general import SysCommand, SysCommandWorker, locate_binary
from .installer import Installer
from .output import log
@@ -60,6 +61,8 @@ class Boot:
self.session = existing_session.session
self.ready = existing_session.ready
else:
+ log(f"Temporarily booting up installed system using systemd-nspawn")
+ time.sleep(1)
self.session = SysCommandWorker([
'/usr/bin/systemd-nspawn',
'-D', self.instance.target,