Fixed menuconfig with new async runner

This commit is contained in:
Martijn Braam 2017-06-02 15:19:08 +02:00
parent 13efa270a1
commit f39c1dae69
4 changed files with 18 additions and 14 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):
auto_init=True, return_stdout=False, check=True, passthrough=False):
"""
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)
auto_init, return_stdout, check, passthrough)