From 4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 17 Jan 2002 19:35:28 +0000 Subject: new BOOT kernel 2.4.17.6mdk --- update_kernel | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/update_kernel b/update_kernel index 7cfd34919..bfe2211c0 100755 --- a/update_kernel +++ b/update_kernel @@ -117,14 +117,15 @@ done install_kernel() { - v=2.4.17.4mdk - vv=${v}BOOT + v=2.4.17 + vr=6mdk + rpm=kernel-BOOT-${v}.${vr}-1-1mdk.i586.rpm + vv=${v}-${vr}BOOT rm -rf all.kernels/$(cat all.kernels/.main) - scp kenobi:~chmou/public_html/kernel/BOOT/kernel-BOOT-$v.i586.rpm /tmp - cd ~/gi/all.kernels ; rm -rf $vv ; mkdir $vv ; cd $vv ; rpm2cpio /tmp/kernel-BOOT-$v*.i586.rpm | cpio -id + (cd /tmp ; rm -f kernel-BOOT-* ; wget https://kenobi.mandrakesoft.com/~chmou/kernel/BOOT/$rpm) + cd ~/gi/all.kernels ; rm -rf $vv ; mkdir $vv ; cd $vv ; rpm2cpio /tmp/$rpm | cpio -id cd ~/gi ; ./update_kernel ; rm -f images/network.rdz ; ./make_boot_img images/network.rdz network /bin/cp -f all.kernels/$vv/boot/vmlinu* /var/lib/tftpboot/vmlinuz /bin/cp -f images/network.rdz-$vv /var/lib/tftpboot/network.rdz /bin/cp -f ~/gi/all.modules/modules.cz-$vv /export/Mandrake/mdkinst/lib } -# scp kenobi:~mbadaire/kernel/boot/archive/kernel-$v.tar.bz2 /tmp -- cgit v1.2.1