|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 1/2] automation: preserve built xen.efi
It will be useful for further tests.
Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
---
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |