From cff80f1d76a4bf4bf8ba9467042a51c2584422df Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 13 Jun 2023 17:18:07 +0200 Subject: [PATCH] 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 Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230613151807.568708-2-ollieparanoid@postmarketos.org%3E --- pmb/helpers/lint.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pmb/helpers/lint.py b/pmb/helpers/lint.py index 95e7070f..3ba60bec 100644 --- a/pmb/helpers/lint.py +++ b/pmb/helpers/lint.py @@ -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