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
|
@ -71,6 +71,6 @@ def copy_xauthority(args: PmbArgs):
|
|||
# Copy to chroot and chown
|
||||
copy = Chroot.native() / "home/pmos/.Xauthority"
|
||||
if os.path.exists(copy):
|
||||
pmb.helpers.run.root(args, ["rm", copy])
|
||||
pmb.helpers.run.root(args, ["cp", original, copy])
|
||||
pmb.helpers.run.root(["rm", copy])
|
||||
pmb.helpers.run.root(["cp", original, copy])
|
||||
pmb.chroot.root(args, ["chown", "pmos:pmos", "/home/pmos/.Xauthority"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue