Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-04-10 09:07:24 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-10 09:07:24 +0200
commit6b785a4b4e56b5f2fd36f1fbfcb4f9724f3c487e (patch)
tree9e873eb95731095510d37fad57919b70661cd7e3
parentee7dff7f84053d82388704a992f82a2baac57fe8 (diff)
Forgot to wrap the commands
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index e5b02b1a..479e7c8f 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -476,7 +476,7 @@ if __name__ == '__main__':
## arch-chroot mounts /run into the chroot environment, this breaks name resolves for some reason.
## Either skipping mounting /run and using traditional chroot is an option, but using
## `systemd-nspawn -D /mnt --machine temporary` might be a more flexible solution in case of file structure changes.
- o = run('systemd-nspawn -D /mnt --machine temporary {c}'.format(c=command), opts)
+ o = run('systemd-nspawn -D /mnt --machine temporary "{c}"'.format(c=command), opts)
if type(conf[title][raw_command]) == bytes and len(conf[title][raw_command]) and not conf[title][raw_command] in o:
print('[W] Post install command failed: {}'.format(o.decode('UTF-8')))
#print(o)