forked from Mirror/pmbootstrap
chroot: put built packages into channel subdir (MR 1912)
Migrate to workdir version 5 and move already built packages into the edge channel subdir, for example: $WORK/packages/x86_64/hello-world-1-r5.apk to: $WORK/packages/edge/x86_64/hello-world-1-r5.apk The build.postmarketos.org code has already been adjusted to find built packages in either directory structure.
This commit is contained in:
parent
d3dc3b2c98
commit
7f60a6d782
10 changed files with 72 additions and 19 deletions
|
@ -101,7 +101,8 @@ def apkindex_files(args, arch=None, user_repository=True, pmos=True,
|
|||
ret = []
|
||||
# Local user repository (for packages compiled with pmbootstrap)
|
||||
if user_repository:
|
||||
ret = [args.work + "/packages/" + arch + "/APKINDEX.tar.gz"]
|
||||
channel = pmb.config.pmaports.read_config(args)["channel"]
|
||||
ret = [f"{args.work}/packages/{channel}/{arch}/APKINDEX.tar.gz"]
|
||||
|
||||
# Resolve the APKINDEX.$HASH.tar.gz files
|
||||
for url in urls(args, False, pmos, alpine):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue