Jesse Guardiani ha scritto:

Jesse Guardiani wrote:



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 tried this today with unsynced clocks on two different machines and it ended up trying to rebuild the kernel. This doesn't appear to be a good solution after all.



:oops:
sorry not thinked at that,
you can still disable your cron daemon, move your date behind, make install and then back again, but it's ... awfull
maybe the your old solution was better,


mount /boot 2> /dev/null
emerge --noreplace =sys-kernel/gentoo-dev-sources-2.6.10-r6
export UNAME_R="2.6.10-gentoo-r6"
/lib/modules/${UNAME_R}
/boot/System.map-${UNAME_R}
/boot/initrd-${UNAME_R}
/boot/kernel-${UNAME_R}
unset UNAME_R
umount /boot 2> /dev/null



--
[email protected] mailing list



Reply via email to