summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-17 19:35:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-17 19:35:28 +0000
commit4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d (patch)
treeb766cc87f002798b12f71696740ee9992caf8271
parentb6d4a46002270eaa64708ff8bdc7121ce6fd6fdb (diff)
downloaddrakx-backup-do-not-use-4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d.tar
drakx-backup-do-not-use-4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d.tar.gz
drakx-backup-do-not-use-4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d.tar.bz2
drakx-backup-do-not-use-4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d.tar.xz
drakx-backup-do-not-use-4c1f8d6a19aaead353ca0a7493fe61a8ec6a844d.zip
new BOOT kernel 2.4.17.6mdk
-rwxr-xr-xupdate_kernel11
1 files 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