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,7 @@ from pmb.core import Context
|
|||
from pmb.core.arch import Arch
|
||||
from pmb.core.chroot import Chroot
|
||||
from pmb.helpers import logging
|
||||
from pmb.types import Apkbuild, CrossCompile, Env, RunOutputTypeDefault
|
||||
from pmb.types import Apkbuild, CrossCompile, Env
|
||||
|
||||
|
||||
class BootstrapStage(enum.IntEnum):
|
||||
|
@ -316,6 +316,4 @@ def run_abuild(
|
|||
finally:
|
||||
handle_csum_failure(apkbuild, buildchroot)
|
||||
|
||||
pmb.helpers.run.root(
|
||||
["umount", buildchroot / "/mnt/sysroot"], output=RunOutputTypeDefault.NULL, check=False
|
||||
)
|
||||
pmb.helpers.run.root(["umount", buildchroot / "/mnt/sysroot"], output="null", check=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue