We have some hosts in the colo which are not supported by older Linux
versions.
Add a suitable hostflag using the new resource conditions syntax to
cause this to occur.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
*) pairtoolstack="xl libvirt" ;;
esac
+ case "$branch" in
+ linux-[3-9].[0-9]*)
+ min_linux_hostflag=PropMinVer:LinuxKernelMin:${branch#linux-}
+ ;;
+ *)
+ ;;
+ esac
+
for xenarch in ${TEST_ARCHES- i386 amd64 armhf } ; do
if [ "x$xenarch" = xdisable ]; then continue; fi
fi
most_hostflags="arch-$dom0arch,arch-xen-$xenarch,suite-$suite,purpose-test"
+ if [ "x$min_linux_hostflag" != "x" ] ; then
+ most_hostflags="$most_hostflags,$min_linux_hostflag"
+ fi
most_runvars="
arch=$dom0arch \