forked from Mirror/pmbootstrap
This fixes an issue where pmb lint tries to lint an apkbuild using a repo path that the apkbuild doesn't exist in. For example, it fixes this: ``` [22:13:26] (native) linting postmarketos-ui-cosmic with apkbuild-lint [22:13:26] *** apkbuild-lint output *** Error: File APKBUILD does not exist [22:13:26] *** apkbuild-lint output *** [22:13:26] ERROR: Linter failed! Traceback (most recent call last): File "/builds/postmarketOS/pmaports/.ci/lib/apkbuild_linting.py", line 26, in <module> common.run_pmbootstrap(["-q", "lint"] + packages) File "/builds/postmarketOS/pmaports/.ci/lib/common.py", line 52, in run_pmbootstrap subprocess.run(cmd, universal_newlines=True, check=True) File "/usr/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pmbootstrap', '--aports', '/builds/postmarketOS/pmaports', '-q', 'lint', 'postmarketos-ui-cosmic']' returned non-zero exit status 2. ``` Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2584 |
||
---|---|---|
.. | ||
aportgen | ||
build | ||
chroot | ||
ci | ||
commands | ||
config | ||
core | ||
data | ||
export | ||
flasher | ||
helpers | ||
install | ||
meta | ||
netboot | ||
parse | ||
qemu | ||
sideload | ||
__init__.py | ||
types.py |