forked from Mirror/pmbootstrap
The package builder has long been a pain point since it recurses the entire dependency tree. Convert it to run in two stages, first it walks through the package dependencies, descending into each one and processing them in a queue. If a package is determined to need building then it gets pushed onto the build_queue. Then, it pops each package off the build queue (which is actually a stack..) and builds it. This avoids recursion entirely and should open the door to optimisations in the future. Signed-off-by: Caleb Connolly <caleb@postmarketos.org> |
||
---|---|---|
.. | ||
aportgen | ||
build | ||
chroot | ||
ci | ||
commands | ||
config | ||
core | ||
data | ||
export | ||
flasher | ||
helpers | ||
install | ||
netboot | ||
parse | ||
qemu | ||
sideload | ||
__init__.py | ||
types.py |