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'.
25 lines
985 B
Python
25 lines
985 B
Python
"""
|
|
Copyright 2017 Oliver Smith
|
|
|
|
This file is part of pmbootstrap.
|
|
|
|
pmbootstrap is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
pmbootstrap is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
|
|
"""
|
|
# Exported functions
|
|
from pmb.build.init import init
|
|
from pmb.build.checksum import checksum
|
|
from pmb.build.other import copy_to_buildpath, is_necessary, \
|
|
symlink_noarch_packages, find_aport, ccache_stats, index_repo
|
|
from pmb.build.package import package
|
|
from pmb.build.menuconfig import menuconfig
|