All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] automation: dump contents of /etc/os-release
@ 2021-07-08  6:29 Olaf Hering
  2021-07-08 11:37 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2021-07-08  6:29 UTC (permalink / raw)
  To: xen-devel; +Cc: Olaf Hering, Doug Goldstein

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>
---
 automation/scripts/build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/automation/scripts/build b/automation/scripts/build
index 46b6903d29..55da912fc5 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] automation: dump contents of /etc/os-release
  2021-07-08  6:29 [PATCH v1] automation: dump contents of /etc/os-release Olaf Hering
@ 2021-07-08 11:37 ` Andrew Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2021-07-08 11:37 UTC (permalink / raw)
  To: Olaf Hering, xen-devel; +Cc: Doug Goldstein

On 08/07/2021 07:29, Olaf Hering wrote:
> 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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-08 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  6:29 [PATCH v1] automation: dump contents of /etc/os-release Olaf Hering
2021-07-08 11:37 ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.