From: Olaf Hering Date: Thu, 8 Jul 2021 06:29:22 +0000 (+0200) Subject: automation: dump contents of /etc/os-release X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~345 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d213e85cb1e96571e1ed2f15ea87c19d21c84586;p=xen.git automation: dump contents of /etc/os-release To aid debugging build failures, dump /etc/os-release during build. This helps with rolling releases such as Tumbleweed to understand the state of the build container. Signed-off-by: Olaf Hering Acked-by: Andrew Cooper --- diff --git a/automation/scripts/build b/automation/scripts/build index 4a1161bb94..281f8b1fcc 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -1,5 +1,7 @@ #!/bin/bash -ex +test -f /etc/os-release && cat "$_" + $CC --version # Express the compiler version as an integer. e.g. GCC 4.9.2 => 0x040902