ts-xen-build: Do not set QEMU_REMOTE unless $r{tree_qemu} is set
PATCH 1/1 ts-xen-build: Do not set QEMU_REMOTE unless $r{tree_qemu} is set
4.4 and earlier do not check if QEMU_REMOTE is empty before using it.
Quoted 1 line
From 4.5 onwards if
QEMU_REMOTEis empty then default is used.
This should fix the build-*-prev job for 4.5 and earlier. In this job we deliberately don't specify tree_qemu since we want whatever that branch gives us.
--- ts-xen-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
ts-xen-build +3 -1
@@ -52,12 +52,14 @@ sub checkout () { echo >>.config debug=$debug_build echo >>.config GIT_HTTP=y echo >>.config LIBLEAFDIR_x86_64=lib - echo >>.config QEMU_REMOTE='$r{tree_qemu}' echo >>.config KERNELS='' END (nonempty($r{enable_xsm}) ? <<END : ''). echo >>.config XSM_ENABLE='${build_xsm}' END + (nonempty($r{tree_qemu}) ? <<END : ''). + echo >>.config QEMU_REMOTE='$r{tree_qemu}' +END (nonempty($r{revision_qemu}) ? <<END : ''). echo >>.config QEMU_TAG='$r{revision_qemu}' END
Signature · 1 line
2.5.1
Ian Campbell writes ("[PATCH OSSTEST] ts-xen-build: Do not set QEMU_REMOTE unless $r{tree_qemu} is set"):
Quoted 2 lines
4.4 and earlier do not check if
QEMU_REMOTEis empty before using it. From 4.5 onwards ifQEMU_REMOTEis empty then default is used.
How annoying.
Quoted 3 lines
This should fix the build-*-prev job for 4.5 and earlier. In this job we deliberately don't specify
tree_qemusince we want whatever that branch gives us.