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