From patchwork Thu Mar 20 15:56:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 26735 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 223BB20143 for ; Thu, 20 Mar 2014 15:58:14 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf2475826pdb.5 for ; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=QgfDApWBvNkM5Rq+K9QvdbQmnVzrkhXtDIIsfQf+EQ4=; b=YQzi5U5kjXz9hnXgndoDHPJDghwQGLD4DGGbtgsxI29DLGKyHRMZ+3mu4GBo+d0nb+ NaaTRtNoHnINct7aQEIu9FAVKE9M6u3tWlITxIBMtW4nB29tQYSEMSjhhVOVk8fjEF1Z F1vuTd5fW3YOTuf79ZT4bIs5Mcd1x5Eil6oGzcJV6JhK1slUOJj6BetNXoXCWVt/ogys e3harRDop9vDxHMFmhoCrZQyct+IF5tYYySUYB3sOvGZh4tMHI/aUBEg/4P4z0UF6FDX /UCtYwbnIx58qlb0dcFOOAaSoW3/lJJ84b0+V8XB5xSSHmzHaL7rcV0A92Y5+Eh/RI4B yR6w== X-Gm-Message-State: ALoCoQkNFOBykT7tkc2cLT73dgWo+E1cFGf+KDqTFCNA8vpuYUeHBhFhSwvOwXYecPBrOPzP5CCg X-Received: by 10.66.149.67 with SMTP id ty3mr17301149pab.27.1395331093327; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.43.119 with SMTP id d110ls296412qga.32.gmail; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) X-Received: by 10.58.190.99 with SMTP id gp3mr4480798vec.32.1395331093129; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id s10si515823vco.56.2014.03.20.08.58.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 08:58:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so1209904vcb.12 for ; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) X-Received: by 10.220.139.198 with SMTP id f6mr917535vcu.47.1395331093042; Thu, 20 Mar 2014 08:58:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp399298vck; Thu, 20 Mar 2014 08:58:12 -0700 (PDT) X-Received: by 10.220.209.197 with SMTP id gh5mr490448vcb.65.1395331092508; Thu, 20 Mar 2014 08:58:12 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id h18si512532vco.88.2014.03.20.08.58.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 20 Mar 2014 08:58:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQfKc-0007By-WF; Thu, 20 Mar 2014 15:56:35 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQfKb-0007BR-WB for xen-devel@lists.xen.org; Thu, 20 Mar 2014 15:56:34 +0000 Received: from [193.109.254.147:59963] by server-3.bemta-14.messagelabs.com id 4D/8F-22179-1BF0B235; Thu, 20 Mar 2014 15:56:33 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-10.tower-27.messagelabs.com!1395330991!3107705!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2456 invoked from network); 20 Mar 2014 15:56:32 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 20 Mar 2014 15:56:32 -0000 X-IronPort-AV: E=Sophos;i="4.97,695,1389744000"; d="scan'208";a="113313010" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 20 Mar 2014 15:56:29 +0000 Received: from norwich.cam.xci-test.com (10.80.248.129) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.2.342.4; Thu, 20 Mar 2014 11:56:28 -0400 Received: from spare.cam.xci-test.com ([10.80.2.80] helo=kazak.uk.xensource.com.) by norwich.cam.xci-test.com with esmtp (Exim 4.72) (envelope-from ) id 1WQfKW-0006RQ-H7; Thu, 20 Mar 2014 15:56:28 +0000 From: Ian Campbell To: Date: Thu, 20 Mar 2014 15:56:28 +0000 Message-ID: <1395330988-4613-4-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1395229554.10203.74.camel@kazak.uk.xensource.com> References: <1395229554.10203.74.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 4/4] ts-xen-build: Drop ability to build kernels X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: These are now all handled by ts-kernel-build. We continue to specify KERNELS='' so that when building ancient versions of Xen they won't try and build anything. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- v2: Keep KERNELS='' --- ts-xen-build | 60 ++++++------------------------------------------------------ 1 file changed, 6 insertions(+), 54 deletions(-) diff --git a/ts-xen-build b/ts-xen-build index 7bc7cbc..e67e29c 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -35,21 +35,10 @@ my $builddir= "$homedir/$leaf"; my $makeflags= get_host_property($ho, 'build make flags', '-j4'); sub checkout () { - my $kerns= $r{xen_kernels}; - $kerns='' unless defined $kerns; - $kerns =~ s/,/ /g; - target_cmd($ho, "rm -rf $builddir && mkdir $builddir", 60); build_clone($ho, 'xen', $builddir, 'xen-unstable'); - my $linux_url_envvar= 'XEN_LINUX_GIT_URL'; - my $linux_rev_envvar= 'XEN_LINUX_GITREV'; - if (defined $r{tree_linux} && $r{tree_linux} =~ m/\.hg$/) { - $linux_url_envvar= 'XEN_LINUX_HGREPO'; - $linux_rev_envvar= 'XEN_LINUX_HGREV'; - } - my $debug_build = $r{xen_build_debug} || 'y'; # Do not set this unless you know what you are doing. This arm @@ -67,6 +56,7 @@ sub checkout () { echo >>.config GIT_HTTP=y echo >>.config LIBLEAFDIR_x86_64=lib echo >>.config QEMU_REMOTE='$r{tree_qemu}' + echo >>.config KERNELS='' END (nonempty($r{revision_qemu}) ? <>.config QEMU_TAG='$r{revision_qemu}' @@ -83,20 +73,9 @@ END (nonempty($earlyprintk) ? <>.config CONFIG_EARLY_PRINTK=$earlyprintk END - (nonempty($r{tree_linux}) ? <>.config export $linux_url_envvar='$r{tree_linux}' -END - (nonempty($r{revision_linux}) ? <>.config export $linux_rev_envvar='$r{revision_linux}' -END - ($ho->{Suite} =~ m/squeeze|wheezy/ ? <{Suite} =~ m/squeeze|wheezy/ ? <>.config PYTHON_PREFIX_ARG= END - (nonempty($kerns) ? <>.config KERNELS='$kerns' -END - echo >>.config KERNELS='' -END ); } @@ -155,50 +134,24 @@ sub collectversion_qemu () { store_revision($ho, 'seabios', "$tools/seabios-dir", 1); } -sub collectversions_kernel () { - my $whichkerns= target_cmd_output($ho, <