From c19d201a752f31095bc240636ab066b18736e3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yao=20Wei=20=28=E9=AD=8F=E9=8A=98=E5=BB=B7=29?= Date: Tue, 31 Aug 2021 16:12:03 +0800 Subject: info/systemd-analyze: wait for boot to complete --- units/info/jobs.pxu | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index d2ed96b..12d7ab1 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -454,7 +454,11 @@ category_id: com.canonical.plainbox::info id: info/systemd-analyze estimated_duration: 0.2 _summary: System boot-up performance statistics -command: systemd-analyze +command: + # Wait for boot to complete + # https://github.com/systemd/systemd/pull/9796 + timeout 60 systemctl is-system-running --wait > /dev/null + systemd-analyze id: lstopo_verbose_attachment plugin: attachment -- cgit v1.2.3