pmb.kconfig: refactor to remove args (MR 2346)

Co-authored-by: Stefan Hansson <newbyte@postmarketos.org>

Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2402
This commit is contained in:
jane400 2024-07-04 13:29:32 +02:00 committed by Caleb Connolly
parent 4f3ede3329
commit afb036da0d
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
7 changed files with 155 additions and 106 deletions

View file

@ -191,7 +191,7 @@ def chroot(args: PmbArgs) -> None:
# Xauthority
env = {}
if args.xauth:
pmb.chroot.other.copy_xauthority(args)
pmb.chroot.other.copy_xauthority(chroot)
env["DISPLAY"] = os.environ.get("DISPLAY")
env["XAUTHORITY"] = "/home/pmos/.Xauthority"