diff options
author | Yao Wei (魏銘廷) <yao.wei@canonical.com> | 2021-08-31 16:12:03 +0800 |
---|---|---|
committer | Yao Wei (魏銘廷) <yao.wei@canonical.com> | 2021-09-01 10:23:55 +0800 |
commit | c19d201a752f31095bc240636ab066b18736e3de (patch) | |
tree | 9f1bcb265b6f62788f0c00d1a3e9ab5475e23be9 /units | |
parent | 7c67b54a18ed141f557d90ac0f5334f085ec0f36 (diff) |
info/systemd-analyze: wait for boot to complete
Diffstat (limited to 'units')
-rw-r--r-- | units/info/jobs.pxu | 6 |
1 files changed, 5 insertions, 1 deletions
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 |