lint: drop call to pmb.build.init

It is not necessary to install build-base or abuild inside the chroot
before running apkbuild-lint. I've verified that the output of
"pmbootstrap lint" is the same without it. Drop it to make it faster.

Reviewed-by: Clayton Craft <clayton@craftyguy.net>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230613151807.568708-2-ollieparanoid@postmarketos.org%3E
This commit is contained in:
Oliver Smith 2023-06-13 17:18:07 +02:00
parent 099238525a
commit cff80f1d76
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 0 additions and 1 deletions

View File

@ -17,7 +17,6 @@ def check(args, pkgnames):
:param pkgnames: Names of the packages to lint
"""
pmb.chroot.apk.install(args, ["atools"])
pmb.build.init(args)
# Mount pmaports.git inside the chroot so that we don't have to copy the
# package folders