From d26ce8a96ce695caeecec5a895156266f402ff30 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 2 Apr 2001 20:59:09 +0000 Subject: update unuseful comment --- update_kernel | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'update_kernel') diff --git a/update_kernel b/update_kernel index bff761ca1..d592b2bff 100755 --- a/update_kernel +++ b/update_kernel @@ -116,7 +116,12 @@ for i in $ALL_KERNELS/*; do done -# v=kernel-2.4.2-BOOT2.tar.bz2 -# scp kenobi:~chmou/work/kernel/archive/$v /tmp -# cd ~/gi/kernel ; rm -rf * ; tar xfI /tmp/$v -# cd ~/gi ; ./update_kernel ; rm -f network.rdz ; ./make_boot_img network.rdz network ; scp vmlinuz network.rdz kenobi:/tftpboot ; cp -f ~/gi/modules/modules.cz /export/Mandrake/mdkinst/lib/modules.cz +install_kernel() { + v=2.4.2-BOOT5 + scp kenobi:~chmou/work/kernel/archive/kernel-$v.tar.bz2 /tmp + cd ~/gi/all.kernels ; rm -rf $v ; mkdir $v ; cd $v ; tar xfj /tmp/kernel-$v.tar.bz2 + cd ~/gi ; ./update_kernel ; rm -f network.rdz ; ./make_boot_img network.rdz network ; + scp all.kernels/$v/boot/vmlinu* kenobi:/tftpboot/vmlinuz + scp images/network.rdz kenobi:/tftpboot + cp -f ~/gi/all.modules/modules.cz-$v /export/Mandrake/mdkinst/lib/modules.cz +} -- cgit v1.2.1