mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-23 12:35:12 +03:00
remove sudo wrapper
we are already root now thanks to user namespaces 😎
Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
parent
7c6df10861
commit
4ca57db3f0
4 changed files with 2 additions and 62 deletions
|
@ -124,6 +124,5 @@ def root(
|
|||
|
||||
if env:
|
||||
cmd = ["sh", "-c", pmb.helpers.run_core.flat_cmd([cmd], env=env)]
|
||||
cmd = pmb.config.sudo(cmd)
|
||||
|
||||
return user(cmd, working_dir, output, output_return, check, env, True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue