Skip to content

tools: record: fix dmi recording

Peter Hutterer requested to merge whot/libinput:wip/record-dmi-fix into master

Processing os-release in the same buffer that the dmi modalias used caused the dmi to be recorded as 'dmi: "VERSION_ID=31"'. The cause for that was simply that the dmi modalias was read but not printed until after the os-release information was processed.

Fix this two-fold: rearrange that each part now reads and prints in one go, and rename the buffers so we don't re-use them.

See e.g. the attachment in #442 (closed)

Merge request reports