From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH RFC OSSTEST v1 09/12] mfi-common: Set diversion for build & test host install Date: Fri, 8 Jan 2016 14:29:56 +0000 Message-ID: <1452263399-14094-9-git-send-email-ian.campbell@citrix.com> References: <1452263368.29416.39.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1452263368.29416.39.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org This means that bisections will use the same version, even if production-config changed in the mean time. Signed-off-by: Ian Campbell --- mfi-common | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mfi-common b/mfi-common index 44e7b3e..c1c4ec5 100644 --- a/mfi-common +++ b/mfi-common @@ -123,7 +123,11 @@ create_build_jobs () { local suite=`getconfig DebianSuite` fi - hostos_runvars="all_host_suite=$suite" + if [ -z "$diversion" ] ; then + local diversion=`getconfig TftpDiVersion` + fi + + hostos_runvars="all_host_suite=$suite all_host_diversion=$diversion" # In 4.4 onwards xend is off by default. If necessary we build a # separate set of binaries with xend enabled in order to run those @@ -408,7 +412,11 @@ test_matrix_iterate () { local guestsuite=`getconfig GuestDebianSuite` fi - hostos_runvars="all_host_suite=$suite" + if [ -z "$diversion" ] ; then + local diversion=`getconfig TftpDiVersion` + fi + + hostos_runvars="all_host_suite=$suite all_host_diversion=$diversion" for kern in ''; do -- 2.6.1