forked from Mirror/pmbootstrap
Revert "pmb: Make RunOutputTypeDefault and RunOutputTypePopen enums"
Revert the patch, as it breaks "pmbootstrap chroot".
This reverts commit 7d2f055bcb
.
This commit is contained in:
parent
ae0d162d31
commit
3ea5a3433b
20 changed files with 84 additions and 167 deletions
|
@ -11,7 +11,6 @@ from pmb.core.pkgrepo import (
|
|||
from pmb.helpers import logging
|
||||
from pmb.helpers.exceptions import NonBugError
|
||||
from pmb.helpers.toml import load_toml_file
|
||||
from pmb.types import RunOutputTypeDefault
|
||||
import os
|
||||
|
||||
import pmb.chroot
|
||||
|
@ -105,7 +104,7 @@ def check(pkgnames: Sequence[str]) -> None:
|
|||
if pmb.chroot.user(
|
||||
["apkbuild-lint", *apkbuild_paths],
|
||||
check=False,
|
||||
output=RunOutputTypeDefault.STDOUT,
|
||||
output="stdout",
|
||||
working_dir=dest_paths[pkgrepo_name(repo)],
|
||||
env={"CUSTOM_VALID_OPTIONS": " ".join(get_custom_valid_options())},
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue