index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-10 18:18:47 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-10 18:18:47 +0200 |
commit | 434603a008a6d80b1333c76255435dc6bc98b40f (patch) | |
tree | f48926ba862320d94cfa0ed12ab541dab64463f2 | |
parent | 1726a597aa323887980e41823df41b704376b075 (diff) |
-rw-r--r-- | archinstall.py | 6 |
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) |