Commit 85092591 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

tools: record: fix dmi recording



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.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent a1c89093
Pipeline #117313 passed with stages
in 17 minutes and 49 seconds