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
|
@ -86,8 +86,8 @@ def bootimg(args: PmbArgs, path: Path):
|
|||
|
||||
# Copy the boot.img into the chroot temporary folder
|
||||
# and make it world readable
|
||||
pmb.helpers.run.root(args, ["cp", path, bootimg_path])
|
||||
pmb.helpers.run.root(args, ["chmod", "a+r", bootimg_path])
|
||||
pmb.helpers.run.root(["cp", path, bootimg_path])
|
||||
pmb.helpers.run.root(["chmod", "a+r", bootimg_path])
|
||||
|
||||
file_output = pmb.chroot.user(args, ["file", "-b", "boot.img"],
|
||||
working_dir=temp_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue