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

helpers: lint: init chroot (MR 2252)

before use

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-10 06:25:28 +02:00 committed by Oliver Smith
parent d9ffb87424
commit 0e638329d1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -21,6 +21,7 @@ def check(pkgnames: Sequence[str]):
:param pkgnames: Names of the packages to lint
"""
chroot = Chroot.native()
pmb.chroot.init(chroot)
pmb.chroot.apk.install(["atools"], chroot)
# Mount pmaports.git inside the chroot so that we don't have to copy the