]> git.ipfire.org Git - thirdparty/systemd.git/commit
debug-generator: add a kernel cmdline option to pause the boot process (#35410)
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 20 Dec 2024 09:04:41 +0000 (10:04 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Dec 2024 09:04:41 +0000 (10:04 +0100)
commitdec47e58a632d77ae22ff8a3dafd5752810c92b1
tree9d49d67978617e7dce959e7f86ce5a90c37589db
parentcdcb1eeeb883b2ecb3992865f458f874900ddb87
parente9f781a5a4721d3e58798b37e30bb4dcdbe54c02
debug-generator: add a kernel cmdline option to pause the boot process (#35410)

Introduce the `systemd.break=` kernel command line option to allow
stopping the boot process at a certain point and spawn a debug shell.
After exiting this shell, the system will resume booting.

It accepts the following values:
- `pre-udev`: before starting to process kernel uevents (initrd and
host).
- `pre-basic`: before leaving early boot and regular services start
(initrd and host).
- `pre-mount`: before the root filesystem is mounted (initrd).
- `pre-switch-root`: before switching root (initrd).