Revert "Fixed menuconfig with new async runner"

I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.

This reverts commit f39c1dae69.
This commit is contained in:
Oliver Smith 2017-06-02 21:33:29 +02:00
parent 06a5c653fe
commit 7d6365b473
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 14 additions and 18 deletions

View file

@ -20,7 +20,7 @@ import pmb.chroot.root
def user(args, cmd, suffix="native", working_dir="/", log=True,
auto_init=True, return_stdout=False, check=True, passthrough=False):
auto_init=True, return_stdout=False, check=True):
"""
Run a command inside a chroot as "user"
@ -29,4 +29,4 @@ def user(args, cmd, suffix="native", working_dir="/", log=True,
"""
cmd = ["su", "user", "-c", " ".join(cmd)]
return pmb.chroot.root(args, cmd, suffix, working_dir, log,
auto_init, return_stdout, check, passthrough)
auto_init, return_stdout, check)