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:
parent
d9ffb87424
commit
0e638329d1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue