mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-21 11:35:08 +03:00
To support multiple aports we changed how we configure /home/pmos/packages in the buildroot so it now points to whichever local binary repo makes sense for the package being built. Copy over the code to envkernel run_abuild() so the packages actually get installed to $WORK/packages Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
10 lines
488 B
Python
10 lines
488 B
Python
# Copyright 2023 Oliver Smith
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
from pmb.build.init import init, init_abuild_minimal, init_compiler
|
|
from pmb.build.envkernel import package_kernel
|
|
from pmb.build.kconfig import menuconfig
|
|
from pmb.build.newapkbuild import newapkbuild
|
|
from pmb.build.other import copy_to_buildpath, is_necessary, \
|
|
index_repo
|
|
from pmb.build._package import BootstrapStage, mount_pmaports, packages, \
|
|
output_path, BuildQueueItem, get_apkbuild, get_depends
|