automation: dump contents of /etc/os-release
PATCH 1/1 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 <[email protected]>
--- automation/scripts/build | 2 ++ 1 file changed, 2 insertions(+)
automation/scripts/build +2 -0
@@ -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
Quoted 5 lines · Olaf Hering
To aid debugging build failures, dump
/etc/os-releaseduring build. This helps with rolling releases such as Tumbleweed to understand the state of the build container.Signed-off-by Olaf Hering <[email protected]>
Acked-by Andrew Cooper <[email protected]>