diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-04 23:35:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-04 23:35:43 +0000 |
commit | 4eeb677b836ce75355b1a555796e6ecb0fddb89f (patch) | |
tree | e1a599b37d7ec401a533e661ea3d23cf72bbe8cb /update_kernel | |
parent | 25a91b0a1b0ab3aea1afa6b144c6525924a55f9b (diff) | |
download | drakx-backup-do-not-use-4eeb677b836ce75355b1a555796e6ecb0fddb89f.tar drakx-backup-do-not-use-4eeb677b836ce75355b1a555796e6ecb0fddb89f.tar.gz drakx-backup-do-not-use-4eeb677b836ce75355b1a555796e6ecb0fddb89f.tar.bz2 drakx-backup-do-not-use-4eeb677b836ce75355b1a555796e6ecb0fddb89f.tar.xz drakx-backup-do-not-use-4eeb677b836ce75355b1a555796e6ecb0fddb89f.zip |
bloody cp -f not overriding the -i
Diffstat (limited to 'update_kernel')
-rwxr-xr-x | update_kernel | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/update_kernel b/update_kernel index 22d250bde..756453f72 100755 --- a/update_kernel +++ b/update_kernel @@ -124,12 +124,13 @@ done install_kernel() { - v=2.4.7-BOOT3 + v=2.4.7-BOOT4 + 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 cd ~/gi ; ./update_kernel ; rm -f images/network.rdz ; ./make_boot_img images/network.rdz network - cp -f all.kernels/$v/boot/vmlinu* /var/lib/tftpboot/vmlinuz - cp -f images/network.rdz /var/lib/tftpboot/ - cp -f ~/gi/all.modules/modules.cz-$v /export/Mandrake/mdkinst/lib/modules.cz + /bin/cp -f all.kernels/$v/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 } # scp kenobi:~mbadaire/kernel/boot/archive/kernel-$v.tar.bz2 /tmp |