Gentoo Archives: gentoo-server

From: RijilV <rijilv@×××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] binary kernel package
Date: Mon, 11 Feb 2008 04:03:10
Message-Id: 41195fb10802102003g38a43839id79d39a2620965d0@mail.gmail.com
In Reply to: Re: [gentoo-server] binary kernel package by Tom Grace
1 Might be alot of work, if you have a few hundred machines, having to go an
2 touch each of them to compile the kernel is going to be alot of work. Also,
3 it might be ideal not to have a compiler on all of these systems.
4
5 .r'
6
7
8 On 10/02/2008, Tom Grace <stonertom@×××××.com> wrote:
9 >
10 > Hi,
11 >
12 > > i'd like to avoid having to compile a kernel on each and every host. how
13 > > do you install a prebuilt kernel onto the host, fx. after having
14 > deployed
15 > > a stage4 using quickstart?
16 > Just curiosity, but what is the problem with doing a kernel compile on
17 > each machine?
18 > I was thinking could you config/make the kernel on one machine, then
19 > .tar.bz2 up the whole /usr/src/linux directory, then just do the install
20 > phase on the target machine?
21 >
22 > Just wondering if there's a simple solution to this :)
23 >
24 > On 10/02/2008, Todd Hebert <todd@×××.ie> wrote:
25 > >
26 > > Wow!
27 > >
28 > > That's a Gentoo-minded admin. :)
29 > >
30 > > That would be easy too.. make a tarball of the binary kernel, copy the
31 > > standard kernel ebuild and add a new section to drop the binaries in
32 > > place
33 > > from the new tarball, then put the new ebuild in an overlay!
34 > >
35 > > Petteri, that is one very elegant idea! Kudos! (I'll make note of it
36 > > for
37 > > future kit rollouts myself!)
38 > >
39 > > --Todd
40 > >
41 > >
42 > > -----Original Message-----
43 > > From: Petteri Räty <petteri.raty@××××××××××.fi>
44 > > To: gentoo-server@l.g.o
45 > > Date: Sun, 10 Feb 2008 20:59:46 +0200
46 > > Subject: Re: [gentoo-server] binary kernel package
47 > >
48 > > > Thilo Bangert kirjoitti:
49 > > > >
50 > > > > i'd like to avoid having to compile a kernel on each and every host.
51 > > > how
52 > > > > do you install a prebuilt kernel onto the host, fx. after having
53 > > > deployed
54 > > > > a stage4 using quickstart? the best thing i can come up with is
55 > > > writing
56 > > > > my own custom script, which pulls a tarball via http. the tarball
57 > > has
58 > > > the
59 > > > > modules, the initrd and the kernel...
60 > > > >
61 > > >
62 > > > You could write an ebuild installing a binary kernel to /boot
63 > > >
64 > > > Regards,
65 > > > Petteri
66 > > >
67 > >
68 > > ----- anything below this line is required under Irish law -----
69 > >
70 > >
71 > > **********************************************************************
72 > > "Private Confidential & Privileged"
73 > > This Email and any files and attachments transmitted with it are
74 > > confidential and/or privileged. They are intended solely for
75 > > the use of the intended recipient. Any views and opinions expressed
76 > > are those of the individual author/sender and are not necessarily
77 > > shared or endorsed by Independent Newspapers (Ireland) Limited or any
78 > > associated or related company. The content of this Email and any file
79 > > or attachment transmitted with it may have been changed or altered
80 > > without the consent of the author. If you are not the intended
81 > > recipient, please note that any review, dissemination, disclosure,
82 > > alteration, printing, circulation or transmission of this Email and/or
83 > > any file or attachment transmitted with it, is prohibited and may be
84 > > unlawful. If you have received this Email or any file attachment
85 > > transmitted with it in error, please notify support@×××.ie or contact
86 > > Systems Administrator Tel: +353 (1) 411 2244
87 > > Internet Interaction Limited
88 > > 3050 Lake Drive, Citywest digital Park, Co Dublin
89 > > CRO # 247783
90 > >
91 > >
92 > > --
93 > > gentoo-server@l.g.o mailing list
94 > >
95 > >
96 >
97 >
98 > --
99 > I include the source code below for those who are masochistic enough to
100 > want to explore it