diff --git a/README.md b/README.md index f0864792..2916f09f 100644 --- a/README.md +++ b/README.md @@ -94,9 +94,9 @@ where we use the default pocket although again it might vary. # Bootchart -It is possible to enable bootcharts by adding `core.bootchart` to the -kernel command line. The sample collector will run until the systemd -switches root, and the chart will be saved in `/run/log`. If +It is possible to enable bootcharts by adding `ubuntu_core.bootchart` +to the kernel command line. The sample collector will run until the +systemd switches root, and the chart will be saved in `/run/log`. If bootcharts are also enabled for the core snap, that file will be eventually moved to the `ubuntu-save` partition (see Core snap documentation). diff --git a/factory/usr/lib/systemd/system/systemd-bootchart-quit.service b/factory/usr/lib/systemd/system/systemd-bootchart-quit.service index 8688864f..569811c6 100644 --- a/factory/usr/lib/systemd/system/systemd-bootchart-quit.service +++ b/factory/usr/lib/systemd/system/systemd-bootchart-quit.service @@ -2,7 +2,7 @@ Description=Stop Boot Process Profiler DefaultDependencies=no Before=initrd-switch-root.service -ConditionKernelCommandLine=core.bootchart +ConditionKernelCommandLine=ubuntu_core.bootchart [Service] Type=oneshot diff --git a/factory/usr/lib/systemd/system/systemd-bootchart.service b/factory/usr/lib/systemd/system/systemd-bootchart.service index 446b8d48..e88a102a 100644 --- a/factory/usr/lib/systemd/system/systemd-bootchart.service +++ b/factory/usr/lib/systemd/system/systemd-bootchart.service @@ -2,7 +2,7 @@ Description=Boot Process Profiler Documentation=man:systemd-bootchart.service(1) man:bootchart.conf(5) DefaultDependencies=no -ConditionKernelCommandLine=core.bootchart +ConditionKernelCommandLine=ubuntu_core.bootchart [Service] ExecStartPre=/usr/sbin/mkdir -p /run/log