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 <olaf@aepfle.de>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Olaf Hering authored and Andrew Cooper committed 2021-07-08 12:36:21 +01:00
1 parent ed939ef084
commit d213e85cb1
1 file changed
+2
+2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.