1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

pmbootstrap lint: use SKIP_INVALID_OPTION for now (MR 1927)

Don't verify APKBUILD options, so it doesn't complain about pmbootstrap
specific options. There's a merge request on the way for apkbuild-lint to
allow CUSTOM_VALID_OPTIONS in the future.

Related: https://gitlab.alpinelinux.org/Leo/atools/-/merge_requests/28
Related: https://gitlab.com/postmarketOS/pmaports/-/issues/553
This commit is contained in:
Oliver Smith 2020-04-25 08:37:53 +02:00 committed by Alexey Min
parent 37101a8035
commit 14bb512861
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED

View file

@ -18,4 +18,6 @@ def check(args, pkgname):
logging.info("(native) linting " + pkgname + " with apkbuild-lint")
pmb.chroot.user(args, ["apkbuild-lint", "APKBUILD"],
check=False, output="stdout",
working_dir="/home/pmos/build")
working_dir="/home/pmos/build",
# Workaround, until we have CUSTOM_VALID_OPTIONS (#553)
env={"SKIP_INVALID_OPTION": "1"})