forked from Mirror/pmbootstrap
lint: run apkbuild-lint as user, not root (MR 2412)
It is not needed to run the linter as root, so don't do it. This is probably a leftover from early days pmbootstrap, where pmaports.git wasn't chowned by the user running pmbootstrap.
This commit is contained in:
parent
e56eadd6e9
commit
8b48a95c18
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def check(pkgnames: Sequence[str]):
|
|||
# For each pkgrepo run the linter on the relevant packages
|
||||
has_failed = False
|
||||
for pkgrepo, apkbuild_paths in apkbuilds.items():
|
||||
if pmb.chroot.root(
|
||||
if pmb.chroot.user(
|
||||
["apkbuild-lint"] + apkbuild_paths,
|
||||
check=False,
|
||||
output="stdout",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue