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 <peter.hutterer@who-t.net>
50 jobs for master in 17 minutes and 49 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Prep
passed #1864777
alpine:latest@container-prep

00:00:33

passed #1864776
arch:rolling@container-prep

00:00:22

passed #1864770
check-ci-script

00:00:24

passed #1864772
fedora:30@container-prep

00:00:34

passed #1864771
kvm
fedora:30@qemu-prep

00:01:09

passed #1864773
fedora:31@container-prep

00:00:23

passed #1864778
freebsd:11.2@container-prep

00:00:24

passed #1864775
ubuntu:19.04@container-prep

00:00:24

passed #1864774
ubuntu:19.10@container-prep

00:00:22

 
  Build
passed #1864784
build-no-debuggui@fedora:30

00:01:43

passed #1864785
build-no-debuggui-nodeps@fedora:30

00:01:44

passed #1864782
build-no-docs@fedora:30

00:01:19

passed #1864980
build-no-docs-nodeps@fedora:30

00:01:14

passed #1864780
build-no-libwacom@fedora:30

00:01:27

passed #1864781
build-no-libwacom-nodeps@fedora:30

00:01:28

passed #1864786
build-no-tests@fedora:30

00:01:47

passed #1864787
build-no-tests-nodeps@fedora:30

00:01:47

passed #1864790
flake8@fedora:30

00:01:26

passed #1864779
scan-build@fedora:30

00:01:34

passed #1864789
usr-bin-env-python@fedora:30

00:00:16

passed #1864788
valgrind@fedora:30

00:01:42

failed #1864783
build-no-docs-nodeps@fedora:30

00:01:49

 
  Vm
passed #1864797
kvm
vm-gestures-device

00:02:56

passed #1864798
kvm
vm-gestures-device-no-libwacom

00:02:45

passed #1864799
kvm
vm-others

00:02:45

passed #1864800
kvm
vm-others-no-libwacom

00:02:40

passed #1864801
kvm
vm-pointer

00:03:04

passed #1864802
kvm
vm-pointer-no-libwacom

00:03:19

passed #1864795
kvm
vm-tablet

00:03:35

passed #1864796
kvm
vm-tablet-no-libwacom

00:02:42

passed #1864793
kvm
vm-tap

00:04:03

passed #1864794
kvm
vm-tap-no-libwacom

00:03:46

passed #1864791
kvm
vm-touchpad

00:07:05

passed #1864792
kvm
vm-touchpad-no-libwacom

00:07:03

 
  Valgrind
passed #1864806
kvm
vm-valgrind-gestures-device

00:07:00

passed #1864863
kvm
vm-valgrind-others

00:06:03

passed #1864808
kvm
vm-valgrind-pointer

00:06:33

passed #1864805
kvm
vm-valgrind-tablet

00:10:05

passed #1864804
kvm
vm-valgrind-tap

00:08:12

passed #1864803
kvm
vm-valgrind-touchpad

00:15:07

failed #1864807
kvm allowed to fail
vm-valgrind-others

00:06:33

 
  Distro
passed #1864815
alpine:latest@default-build

00:00:46

passed #1864814
arch:rolling@default-build

00:02:50

passed #1864809
default-build-release@fedora:30

00:00:55

passed #1864810
fedora:30@default-build

00:01:27

passed #1864811
fedora:31@default-build

00:02:03

passed #1864816
freebsd:11.2@default-build

00:00:19

passed #1864813
ubuntu:19.04@default-build

00:01:23

passed #1864812
ubuntu:19.10@default-build

00:02:03

 
  Deploy
passed #1864817
wayland-web

00:00:15