1
0
Fork 1
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:
Casey Connolly 2025-04-23 18:41:52 +02:00
parent 7c6df10861
commit 4ca57db3f0
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
4 changed files with 2 additions and 62 deletions

View file

@ -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)