Re: [gentoo-user] Gentoo way of handling pre-built kernels

2007-02-23 Thread Boyd Stephen Smith Jr.
On Friday 23 February 2007, Neil Bothwick <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Gentoo way of handling pre-built kernels':
> On Fri, 23 Feb 2007 10:42:17 +0100, Robert Szentmihalyi wrote:
> > I have successfully deployed Gentoo on about 30 desktop PCs in a
> > corporate environment.
> > Now, as I need to update the kernel on those PCs, I wonder if there is
> > a standard Gentoo way (maybe a script or something), that people are
> > using to build and deploy binary kernel packages.
>
> Even better, if the
> machines are all networked, push the changes out with rsync then use
> tentakel (or a for loop) to reboot each box.

Or, push the kernel (with included initramfs) out via netboot, and after 
mounting the root filesystem, copy the modules into place.  If you have a 
large number of modules (too big to fit inside the kernel image), push 
them with rsync (or similar) to the client machines, either from within 
the initramfs or with an initscript that starts before any others.

> You could also put this in an update script on each of the boxes then
> use tentakel to run it on some or all of them. tentakel (in portage) is
> a handy way of running the same command on a group of machines, and you
> can set up named groups and subgroups to make life even easier.

Never used tentakel, but IIRC there's another parallel-shell tools 
available that works over rsh/rlogin/ssh called psh.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!


pgp1D4cJ4NM6j.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo way of handling pre-built kernels

2007-02-23 Thread Neil Bothwick
On Fri, 23 Feb 2007 10:42:17 +0100, Robert Szentmihalyi wrote:

> I have successfully deployed Gentoo on about 30 desktop PCs in a
> corporate environment.
> Now, as I need to update the kernel on those PCs, I wonder if there is
> a standard Gentoo way (maybe a script or something), that people are
> using to build and deploy binary kernel packages.

kernels are handled differently, even if you built a package with
--buildpkg or quickpkg, only the source would be included. If the systems
are identical, what's wrong with simply packaging up the relevant contents
of /boot and /lib/modules? Even better, if the machines are all
networked, push the changes out with rsync then use tentakel (or a for
loop) to reboot each box.

You could also put this in an update script on each of the boxes then use
tentakel to run it on some or all of them. tentakel (in portage) is a
handy way of running the same command on a group of machines, and you can
set up named groups and subgroups to make life even easier.


-- 
Neil Bothwick

I'm not tense, just terribly alert!


signature.asc
Description: PGP signature


[gentoo-user] Gentoo way of handling pre-built kernels

2007-02-23 Thread Robert Szentmihalyi
Hi list,

I have successfully deployed Gentoo on about 30 desktop PCs in a corporate 
environment.
Now, as I need to update the kernel on those PCs, I wonder if there is a 
standard Gentoo way (maybe a script or something), that people are using to 
build and deploy binary kernel packages.
Any ideas?

Thanks,
 Robert
-- 
gentoo-user@gentoo.org mailing list