|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] automation: save xen config before building
commit b066bd195c04f15ca396ce427c03da1e14849197
Author: Wei Liu <wl@xxxxxxx>
AuthorDate: Wed May 5 11:45:16 2021 +0000
Commit: Wei Liu <wl@xxxxxxx>
CommitDate: Wed May 5 14:23:01 2021 +0000
automation: save xen config before building
It is reported that failed randconfig runs are missing the config file
which makes debugging impossible. Fix this by moving the line that
copies the config file before the build is executed.
Signed-off-by: Wei Liu <wl@xxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
automation/scripts/build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/automation/scripts/build b/automation/scripts/build
index eaf70b11d1..46b6903d29 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -16,6 +16,10 @@ else
make -j$(nproc) -C xen defconfig
fi
+# Save the config file before building because build failure causes the script
+# to exit early -- bash is invoked with -e.
+cp xen/.config xen-config
+
# arm32 only cross-compiles the hypervisor
if [[ "${XEN_TARGET_ARCH}" = "arm32" ]]; then
hypervisor_only="y"
@@ -59,7 +63,6 @@ else
fi
# Extract artifacts to avoid getting rewritten by customised builds
-cp xen/.config xen-config
mkdir binaries
if [[ "${XEN_TARGET_ARCH}" != "x86_32" ]]; then
cp xen/xen binaries/xen
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |