All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] automation: preserve built xen.efi
@ 2024-10-02 12:42 Marek Marczykowski-Górecki
  2024-10-02 12:42 ` [PATCH 2/2] automation: add a smoke test for xen.efi on X86 Marek Marczykowski-Górecki
  2024-10-02 20:42 ` [PATCH 1/2] automation: preserve built xen.efi Andrew Cooper
  0 siblings, 2 replies; 14+ messages in thread
From: Marek Marczykowski-Górecki @ 2024-10-02 12:42 UTC (permalink / raw)
  To: xen-devel
  Cc: Marek Marczykowski-Górecki, Doug Goldstein,
	Stefano Stabellini

It will be useful for further tests.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
---
 automation/scripts/build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/automation/scripts/build b/automation/scripts/build
index b3c71fb6fb60..4cd41cb2c471 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -47,6 +47,7 @@ if [[ "${CPPCHECK}" == "y" ]] && [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
 
     # Preserve artefacts
     cp xen/xen binaries/xen
+    if [[ -f xen/xen.efi ]]; then cp xen/xen.efi binaries/xen.efi; fi
     cp xen/cppcheck-report/xen-cppcheck.txt xen-cppcheck.txt
 elif [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
     # Xen-only build
@@ -54,6 +55,7 @@ elif [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
 
     # Preserve artefacts
     cp xen/xen binaries/xen
+    if [[ -f xen/xen.efi ]]; then cp xen/xen.efi binaries/xen.efi; fi
 else
     # Full build.  Figure out our ./configure options
     cfgargs=()
@@ -101,5 +103,8 @@ else
     # even though dist/ contains everything, while some containers don't even
     # build Xen
     cp -r dist binaries/
-    if [[ -f xen/xen ]] ; then cp xen/xen binaries/xen; fi
+    if [[ -f xen/xen ]] ; then
+        cp xen/xen binaries/xen
+        if [[ -f xen/xen.efi ]]; then cp xen/xen.efi binaries/xen.efi; fi
+    fi
 fi
-- 
2.46.0



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

end of thread, other threads:[~2024-10-03 20:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 12:42 [PATCH 1/2] automation: preserve built xen.efi Marek Marczykowski-Górecki
2024-10-02 12:42 ` [PATCH 2/2] automation: add a smoke test for xen.efi on X86 Marek Marczykowski-Górecki
2024-10-02 21:03   ` Andrew Cooper
2024-10-02 22:16   ` Stefano Stabellini
2024-10-02 22:22     ` Stefano Stabellini
2024-10-02 22:55       ` Marek Marczykowski-Górecki
2024-10-02 23:08         ` Andrew Cooper
2024-10-02 23:30         ` Stefano Stabellini
2024-10-03  0:24           ` Marek Marczykowski-Górecki
2024-10-03  0:32             ` Stefano Stabellini
2024-10-03 20:24               ` Stefano Stabellini
2024-10-02 20:42 ` [PATCH 1/2] automation: preserve built xen.efi Andrew Cooper
2024-10-02 20:46   ` Marek Marczykowski-Górecki
2024-10-02 22:16     ` Stefano Stabellini

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.