[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] automation: dump contents of /etc/os-release



commit d213e85cb1e96571e1ed2f15ea87c19d21c84586
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Thu Jul 8 08:29:22 2021 +0200
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Thu Jul 8 12:36:21 2021 +0100

    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@xxxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 automation/scripts/build | 2 ++
 1 file changed, 2 insertions(+)

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
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.