action="store_true",
default=False,
)
+ parser.add_argument(
+ "--debug-sandbox",
+ help="Run mkosi-sandbox with strace",
+ action="store_true",
+ default=False,
+ )
parser.add_argument(
"-D",
"--show-documentation",
cmdline += ["--debug"]
if args.debug_shell:
cmdline += ["--debug-shell"]
+ if args.debug_sandbox:
+ cmdline += ["--debug-sandbox"]
if os.getuid() == 0:
cmdline += [
# DESCRIPTION
-`mkosi-addon` is a wrapper on top of `mkosi` to simplify the generation of PE
-addons containing customizations for unified kernel images specific to the
+**mkosi-addon** is a wrapper on top of **mkosi** to simplify the generation of
+PE addons containing customizations for unified kernel images specific to the
running or local system. Will include entries in `/etc/crypttab` marked with
-`x-initrd.attach`, and `/etc/kernel/cmdline`. Kernel modules and firmwares for the
-running hardware can be included if a local configuration with the option
+`x-initrd.attach`, and `/etc/kernel/cmdline`. Kernel modules and firmwares for
+the running hardware can be included if a local configuration with the option
`KernelModulesIncludeHost=` is provided.
# OPTIONS
`--debug-shell=`
: Spawn debug shell in sandbox if a sandboxed command fails.
+`--debug-sandbox`
+: Run **mkosi-sandbox** with **strace**.
+
`--version`
: Show package version.
# DESCRIPTION
-`mkosi-initrd` is wrapper on top of `mkosi` to simplify the generation of
+**mkosi-initrd** is wrapper on top of **mkosi** to simplify the generation of
initrds and Unified Kernel Images for the current running system.
# OPTIONS
`--debug-shell=`
: Spawn debug shell in sandbox if a sandboxed command fails.
+`--debug-sandbox`
+: Run **mkosi-sandbox** with **strace**.
+
`--version`
: Show package version.