systemd-bootchart icon indicating copy to clipboard operation
systemd-bootchart copied to clipboard

add test for invocation via kernel param

Open jamuir opened this issue 1 year ago • 2 comments

The recommended way of running systemd-bootchart is via the kernel parameter "init=/usr/lib/systemd/systemd-bootchart", as described here:

https://github.com/systemd/systemd-bootchart/blob/main/man/systemd-bootchart.xml

Running using "init=" seems to have been broken for some time on switch-root systems (at least since systemd v251).

A test should be added to exercise "init=".

jamuir avatar Jan 21 '25 18:01 jamuir

It might be that invocation using "init=..." is not recommended on switch-root systems.

In that case, a test could be added that uses the kernel param "rdinit=..."

jamuir avatar Jan 21 '25 18:01 jamuir

I see that Fedora publishes qemu images. One of those images could be used to implement kernel param tests.

jamuir avatar Jan 22 '25 16:01 jamuir