forked from Mirror/pmbootstrap
treewide: migrate to pkgrepo API (MR 2252)
Make use of the new pmb.core.pkgrepo API to handle multiple aports and extra-repos. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
8a61d67053
commit
560cea46ea
19 changed files with 153 additions and 91 deletions
|
@ -404,7 +404,7 @@ def newapkbuild(args: PmbArgs):
|
|||
|
||||
# Passthrough: PKGNAME[-PKGVER] | SRCURL
|
||||
pass_through.append(args.pkgname_pkgver_srcurl)
|
||||
pmb.build.newapkbuild(args, args.folder, pass_through, args.force)
|
||||
pmb.build.newapkbuild(args.folder, pass_through, args.force)
|
||||
|
||||
|
||||
def kconfig(args: PmbArgs):
|
||||
|
@ -474,7 +474,7 @@ def deviceinfo_parse(args: PmbArgs):
|
|||
# Default to all devices
|
||||
devices = args.devices
|
||||
if not devices:
|
||||
devices = pmb.helpers.devices.list_codenames(get_context().config.aports)
|
||||
devices = pmb.helpers.devices.list_codenames()
|
||||
|
||||
# Iterate over all devices
|
||||
kernel = args.deviceinfo_parse_kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue