summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-02 20:59:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-02 20:59:09 +0000
commitd26ce8a96ce695caeecec5a895156266f402ff30 (patch)
tree7283cf63b69e78c1bbfe9d5ce63fdfb3a6a7d2ca /update_kernel
parent2faf83f96933b2dddbb73d7105546a2b155d020e (diff)
downloaddrakx-backup-do-not-use-d26ce8a96ce695caeecec5a895156266f402ff30.tar
drakx-backup-do-not-use-d26ce8a96ce695caeecec5a895156266f402ff30.tar.gz
drakx-backup-do-not-use-d26ce8a96ce695caeecec5a895156266f402ff30.tar.bz2
drakx-backup-do-not-use-d26ce8a96ce695caeecec5a895156266f402ff30.tar.xz
drakx-backup-do-not-use-d26ce8a96ce695caeecec5a895156266f402ff30.zip
update unuseful comment
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel13
1 files changed, 9 insertions, 4 deletions
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
+}