From patchwork Tue Aug 6 22:14:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 265254 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 073B42C0099 for ; Wed, 7 Aug 2013 08:14:52 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1V6pWf-0005kH-Dy; Tue, 06 Aug 2013 22:14:45 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1V6pWX-0005iZ-Sd for kernel-team@lists.ubuntu.com; Tue, 06 Aug 2013 22:14:37 +0000 Received: from c-67-160-231-162.hsd1.ca.comcast.net ([67.160.231.162] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1V6pWX-0003yU-MM; Tue, 06 Aug 2013 22:14:37 +0000 Received: from kamal by fourier with local (Exim 4.80) (envelope-from ) id 1V6pWV-00058T-FP; Tue, 06 Aug 2013 15:14:35 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [kteam-tools][PATCH] git-build-kernel: armhf- and armel- chroot support Date: Tue, 6 Aug 2013 15:14:32 -0700 Message-Id: <1375827272-19710-1-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 1.8.1.2 Cc: Kamal Mostafa X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com Enables armhf and armel builds, e.g.: git push buildhost master:armhf-binary-generic Signed-off-by: Kamal Mostafa --- git-build-kernel/post-receive | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-build-kernel/post-receive b/git-build-kernel/post-receive index 89c88b5..2295528 100755 --- a/git-build-kernel/post-receive +++ b/git-build-kernel/post-receive @@ -34,6 +34,8 @@ do arch=amd64 [ "${ref_p2%%-*}" = "amd64" ] && { arch=amd64; ref_p2="${ref_p2#*-}"; } [ "${ref_p2%%-*}" = "i386" ] && { arch=i386; ref_p2="${ref_p2#*-}"; } + [ "${ref_p2%%-*}" = "armhf" ] && { arch=armhf; ref_p2="${ref_p2#*-}"; } + [ "${ref_p2%%-*}" = "armel" ] && { arch=armel; ref_p2="${ref_p2#*-}"; } ### handle predefined branch or refs targets ### e.g. refs/heads/binary (an actual branch named "binary")