forked from Mirror/pmbootstrap
chroot: replace arch.from_chroot_suffix() with chroot.arch (MR 2252)
Another usage of args dropped! Although the device_arch variable thing is not very ideal... Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
8526631589
commit
fa804c9453
9 changed files with 29 additions and 19 deletions
|
@ -138,6 +138,7 @@ def init(args: PmbArgs) -> PmbArgs:
|
|||
pmb.config.pmaports.read_config(args)
|
||||
add_deviceinfo(args)
|
||||
pmb.helpers.git.parse_channels_cfg(args)
|
||||
context.device_arch = args.deviceinfo["arch"]
|
||||
|
||||
return args
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue