Skip to content

Commit

Permalink
automation: dump contents of /etc/os-release
Browse files Browse the repository at this point in the history
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]>
Acked-by: Andrew Cooper <[email protected]>
  • Loading branch information
olafhering authored and andyhhp committed Jul 8, 2021
1 parent ed939ef commit d213e85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions automation/scripts/build
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d213e85

Please sign in to comment.