Commit e03ae661 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

manager: don't show kernel boot-up time for containers

parent 72fe22f9
......@@ -26,6 +26,8 @@ F15:
* remove getty magic, move it into a generator
* recreate private socket on SIGUSR2
Features:
* optionally create watched directories in .path units
......
......@@ -2841,7 +2841,8 @@ void manager_check_finished(Manager *m) {
dual_timestamp_get(&m->finish_timestamp);
if (m->running_as == MANAGER_SYSTEM) {
if (m->running_as == MANAGER_SYSTEM && detect_container(NULL) <= 0) {
if (dual_timestamp_is_set(&m->initrd_timestamp)) {
log_info("Startup finished in %s (kernel) + %s (initrd) + %s (userspace) = %s.",
format_timespan(kernel, sizeof(kernel),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment