forked from Mirror/pmbootstrap
core: don't re-export get_context (MR 2252)
This makes testing a lot more annoying. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
42d9f4e3cd
commit
6087a9df8f
48 changed files with 86 additions and 55 deletions
|
@ -1,6 +1,6 @@
|
|||
# Copyright 2023 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
from pmb.core import get_context
|
||||
from pmb.core.context import get_context
|
||||
from pmb.core.chroot import Chroot
|
||||
from pmb.core.config import SystemdConfig
|
||||
from pmb.core.context import Context
|
||||
|
@ -457,7 +457,7 @@ def ask_for_device(context: Context):
|
|||
|
||||
|
||||
def ask_for_additional_options(config):
|
||||
context = pmb.core.get_context()
|
||||
context = pmb.core.context.get_context()
|
||||
# Allow to skip additional options
|
||||
logging.info("Additional options:"
|
||||
f" extra free space: {config.extra_space} MB,"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue