[kteam-tools][PATCH] git-build-kernel: armhf- and armel- chroot support

Kamal Mostafa kamal at canonical.com
Tue Aug 6 22:14:32 UTC 2013


Enables armhf and armel builds, e.g.:

  git push buildhost master:armhf-binary-generic

Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 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")
-- 
1.8.1.2





More information about the kernel-team mailing list