from mkosi.config import DocFormat
from mkosi.documentation import show_docs
from mkosi.initrd import include_system_config, initrd_common_args, initrd_finalize, process_crypttab
-from mkosi.log import log_setup
+from mkosi.log import ARG_DEBUG, ARG_DEBUG_SHELL, log_setup
from mkosi.run import run, uncaught_exception_handler
from mkosi.util import PathString, resource_path
] # fmt: skip
if args.debug:
+ ARG_DEBUG.set(args.debug)
cmdline += ["--debug"]
if args.debug_shell:
+ ARG_DEBUG_SHELL.set(args.debug_shell)
cmdline += ["--debug-shell"]
if args.debug_sandbox:
cmdline += ["--debug-sandbox"]
import mkosi.resources
from mkosi.config import DocFormat, InitrdProfile, OutputFormat
from mkosi.documentation import show_docs
-from mkosi.log import log_notice, log_setup
+from mkosi.log import ARG_DEBUG, ARG_DEBUG_SHELL, log_notice, log_setup
from mkosi.run import find_binary, run, uncaught_exception_handler
from mkosi.sandbox import __version__, umask
from mkosi.tree import copy_tree
]
if args.debug:
+ ARG_DEBUG.set(args.debug)
cmdline += ["--debug"]
if args.debug_shell:
+ ARG_DEBUG_SHELL.set(args.debug_shell)
cmdline += ["--debug-shell"]
if args.debug_sandbox:
cmdline += ["--debug-sandbox"]