forked from Mirror/pmbootstrap
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:
parent
06a5c653fe
commit
7d6365b473
4 changed files with 14 additions and 18 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, 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue