All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalin KOZHUHAROV <kalin@thinrope.net>
To: linux-kernel@vger.kernel.org
Subject: Re: massive cross-builds without too much PITA
Date: Fri, 29 Oct 2004 00:56:32 +0900	[thread overview]
Message-ID: <clr4ri$p27$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.GSO.4.61.0410281331320.7058@waterleaf.sonytel.be>


Have you considered http://distcc.samba.org/ ??
I use it to compile my (almost stock) kernels and it scales perfectly (5 boxen now).

I have a dirty shell script to:
	ssh host13.mydomain.org "cat /proc/config.gz" |gunzip >//var/tmp/kernels/linux-2.6.8-KK1_host13/.config
	cd linux-2.6.8-KK1 && make old_config && make menuconfig && make
	put the output in /var/tmp/kernels/linux-2.6.8-KK1_host13 (KBOULD_OUT),
	rsync with the host (/usr/src/linux-2.6.8-KK1 and /var/tmp/kernels/linux-2.6.8-KK1_host13),
	ssh ot host13 and "cd /usr/src/linux-2.6.8-KK1; make modules_install",
	cp kernel to /boot, change /boot/bzImage to point to it

Using distcc as I said, I compile for about ten hosts this way keeping the same tree, but with different config.

Kalin.
	
P.S. If anybody is interested in the exact script,  contact me by e-mail. Too dirty code to be presented here :-)

-- 
 || ~~~~~~~~~~~~~~~~~~~~~~ ||
(  ) http://ThinRope.net/ (  )
 || ______________________ ||


  reply	other threads:[~2004-10-28 16:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28  5:48 massive cross-builds without too much PITA Al Viro
2004-10-28 11:36 ` Geert Uytterhoeven
2004-10-28 15:56   ` Kalin KOZHUHAROV [this message]
2004-10-28 16:58   ` Al Viro
2004-10-28 17:28     ` Geert Uytterhoeven
2004-10-28 16:21 ` Alessandro Amici
2004-10-28 16:52   ` Al Viro
2004-10-31  6:29   ` Herbert Poetzl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='clr4ri$p27$1@sea.gmane.org' \
    --to=kalin@thinrope.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.