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
|
@ -36,7 +36,7 @@ def previous_install(args: PmbArgs, path: Path):
|
|||
logging.info("WARNING: Could not get block device label,"
|
||||
" assume no previous installation on that partition")
|
||||
|
||||
pmb.helpers.run.root(args, ["umount", Chroot.native() / blockdevice_inside])
|
||||
pmb.helpers.run.root(["umount", Chroot.native() / blockdevice_inside])
|
||||
return "pmOS_boot" in label
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue