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 18:18:47 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-10 18:18:47 +0200
commit434603a008a6d80b1333c76255435dc6bc98b40f (patch)
treef48926ba862320d94cfa0ed12ab541dab64463f2
parent1726a597aa323887980e41823df41b704376b075 (diff)
Forgot to send the options as actual options.
-rw-r--r--archinstall.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall.py b/archinstall.py
index b1bfeb59..bf8827f6 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -542,15 +542,15 @@ if __name__ == '__main__':
o = run("cd /mnt; mount -t proc /proc proc")
o = run("cd /mnt; mount --make-rslave --rbind /sys sys")
o = run("cd /mnt; mount --make-rslave --rbind /dev dev")
- o = run('chroot /mnt /bin/bash -c "{c}"'.format(c=command))
+ o = run('chroot /mnt /bin/bash -c "{c}"'.format(c=command), opts=opts)
o = run("cd /mnt; umount -R dev")
o = run("cd /mnt; umount -R sys")
o = run("cd /mnt; umount -R proc")
else:
if 'boot' in opts and opts['boot']:
- o = run('systemd-nspawn -D /mnt -b --machine temporary {c}'.format(c=command), opts)
+ o = run('systemd-nspawn -D /mnt -b --machine temporary {c}'.format(c=command), opts=opts)
else:
- 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=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)