forked from Mirror/pmbootstrap
helpers: drop args from helpers.run functions (MR 2252)
Now we can run commands without needs args available! Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
02f04ba3a8
commit
05c86be11c
42 changed files with 161 additions and 160 deletions
|
@ -87,7 +87,7 @@ def shutdown(args: PmbArgs, only_install_related=False):
|
|||
# contents get copied to a rootfs / installer image, or if creating an
|
||||
# android recovery zip from its contents).
|
||||
for marker in pmb.config.work.glob("chroot_*/in-pmbootstrap"):
|
||||
pmb.helpers.run.root(args, ["rm", marker])
|
||||
pmb.helpers.run.root(["rm", marker])
|
||||
|
||||
if not only_install_related:
|
||||
# Umount all folders inside work dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue