diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-08 13:18:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-08 13:18:18 +0000 |
commit | 3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6 (patch) | |
tree | e9b7fb10d79d9f335db6513aa914081c9409133c | |
parent | 5d7cb6233c72ed5fb29a250b06716e9ee69b16e8 (diff) | |
download | drakx-backup-do-not-use-3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6.tar drakx-backup-do-not-use-3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6.tar.gz drakx-backup-do-not-use-3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6.tar.bz2 drakx-backup-do-not-use-3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6.tar.xz drakx-backup-do-not-use-3ae2f61b521ddf624959e3a66ce7d1ffa2169ef6.zip |
update install_kernel to the fact that boot kernels are now rpms
-rwxr-xr-x | update_kernel | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/update_kernel b/update_kernel index 756453f72..93989510b 100755 --- a/update_kernel +++ b/update_kernel @@ -124,13 +124,14 @@ done install_kernel() { - v=2.4.7-BOOT4 + v=2.4.7-8mdk + vv=${v}BOOT rm -rf all.kernels/$(cat all.kernels/.main) - 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 + scp kenobi:~chmou/work/kernel/archive/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 ~/gi ; ./update_kernel ; rm -f images/network.rdz ; ./make_boot_img images/network.rdz network - /bin/cp -f all.kernels/$v/boot/vmlinu* /var/lib/tftpboot/vmlinuz + /bin/cp -f all.kernels/$vv/boot/vmlinu* /var/lib/tftpboot/vmlinuz /bin/cp -f images/network.rdz /var/lib/tftpboot/ - /bin/cp -f ~/gi/all.modules/modules.cz-$v /export/Mandrake/mdkinst/lib/modules.cz + /bin/cp -f ~/gi/all.modules/modules.cz-$vv /export/Mandrake/mdkinst/lib/modules.cz } # scp kenobi:~mbadaire/kernel/boot/archive/kernel-$v.tar.bz2 /tmp |