Ow Mun Heng wrote:

> On Tue, 2005-02-01 at 02:28, Bastian Balthazar Bux wrote:
>> Jesse Guardiani ha scritto:
>> 
>> >Hello,
>> >
>> >Is there a script that makes it easy to package and
>> >transfer a binary kernel? Currently, I'm having to
>> >separately tar, gzip, and sftp the following dirs/files:
>> >
>> >/lib/modules/2.6.10-gentoo-r6
>> >/usr/src/linux-2.6.10-gentoo-r6
>> >/boot/System.map-2.6.10-gentoo-r6
>> >/boot/initrd-2.6.10-gentoo-r6
>> >/boot/kernel-2.6.10-gentoo-r6
>> >
>> >Is there an easier way to do this?
>> >
>> Transfer only /usr/src/linux-2.6.10-gentoo-r6 and redo a make install &&
>> make modules_install,
>> it should work if not modified after the last install.
>> Alternatvely you can leave /usr/src/linux-2.6.10-gentoo-r6 out, if you
>> don't compile it you don't need to copy it.
> 
> I think there's a very obvious "flaw" in this. The reason being that the
> sources are actually very big. More towards 200-300MB depending on the
> build options.
> 
> I would prefer instead to just tar and tar up the few directories and do
> it like that.
> 
> That's actually how I'm transferring the sources to another box.


Yeah, but only about 98M or 60M compressed. That's acceptable. However,
I use genkernel. Do you think I can still do a make install && make 
modules_install?

If so, then that's a great solution!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



--
[email protected] mailing list

Reply via email to