Might be alot of work, if you have a few hundred machines, having to go an touch each of them to compile the kernel is going to be alot of work. Also, it might be ideal not to have a compiler on all of these systems.
.r'
Hi,
> i'd like to avoid having to compile a kernel on each and every host. how
> do you install a prebuilt kernel onto the host, fx. after having deployed
> a stage4 using quickstart?
Just curiosity, but what is the problem with doing a kernel compile on each machine?
I was thinking could you config/make the kernel on one machine, then .tar.bz2 up the whole /usr/src/linux directory, then just do the install phase on the target machine?
Just wondering if there's a simple solution to this :)--On 10/02/2008, Todd Hebert <todd@iil.ie> wrote:Wow!
That's a Gentoo-minded admin. :)
That would be easy too.. make a tarball of the binary kernel, copy the
standard kernel ebuild and add a new section to drop the binaries in place
from the new tarball, then put the new ebuild in an overlay!
Petteri, that is one very elegant idea! Kudos! (I'll make note of it for
future kit rollouts myself!)
--Todd
-----Original Message-----
From: Petteri Räty <petteri.raty@saunalahti.fi>
To: gentoo-server@lists.gentoo.org
Date: Sun, 10 Feb 2008 20:59:46 +0200
Subject: Re: [gentoo-server] binary kernel package
> Thilo Bangert kirjoitti:
> >
> > i'd like to avoid having to compile a kernel on each and every host.
> how
> > do you install a prebuilt kernel onto the host, fx. after having
> deployed
> > a stage4 using quickstart? the best thing i can come up with is
> writing
> > my own custom script, which pulls a tarball via http. the tarball has
> the
> > modules, the initrd and the kernel...
> >
>
> You could write an ebuild installing a binary kernel to /boot
>
> Regards,
> Petteri
>
----- anything below this line is required under Irish law -----
**********************************************************************
"Private Confidential & Privileged"
This Email and any files and attachments transmitted with it are
confidential and/or privileged. They are intended solely for
the use of the intended recipient. Any views and opinions expressed
are those of the individual author/sender and are not necessarily
shared or endorsed by Independent Newspapers (Ireland) Limited or any
associated or related company. The content of this Email and any file
or attachment transmitted with it may have been changed or altered
without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or transmission of this Email and/or
any file or attachment transmitted with it, is prohibited and may be
unlawful. If you have received this Email or any file attachment
transmitted with it in error, please notify support@iil.ie or contact
Systems Administrator Tel: +353 (1) 411 2244
Internet Interaction Limited
3050 Lake Drive, Citywest digital Park, Co Dublin
CRO # 247783
--
gentoo-server@lists.gentoo.org mailing list
I include the source code below for those who are masochistic enough to want to explore it