forked from Mirror/pmbootstrap
Fixed menuconfig with new async runner
This commit is contained in:
parent
13efa270a1
commit
f39c1dae69
4 changed files with 18 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue