forked from Mirror/pmbootstrap
* apkindex: * Also parse the architecture field * symlink_noarch_package: * Renamed to symlink_noarch_packages * Always work on all packages (so we don't need to guess which subpackages have been generated after a certain build) * Get invoked when running 'pmbootstrap index' * Use 'apk index' to generate one index, where the architecture does not get rewritten (abuild does that by default, due to Alpine's repos not having a 'noarch' folder and diverging from that doesn't make things easier for us). That goes super fast, and then we know which packages are noarch packages and can create the symlinks. * Made output less verbose: * Use -q for 'apk index' when calling it directly (when it gets called by abuild we can't control that) * Output that the APKINDEXes get reindexed only to the 'pmbootstrap log'.
This commit is contained in:
parent
0cc7869576
commit
1285f74c5f
6 changed files with 45 additions and 18 deletions
|
@ -129,7 +129,8 @@ def config(args):
|
|||
|
||||
|
||||
def index(args):
|
||||
pmb.build.index_repo(args)
|
||||
pmb.build.index_repo(args, args.arch_native)
|
||||
pmb.build.symlink_noarch_packages(args)
|
||||
|
||||
|
||||
def initfs(args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue