diff options
-rwxr-xr-x | upgrade_kernel | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade_kernel b/upgrade_kernel index 123cf66..ac46050 100755 --- a/upgrade_kernel +++ b/upgrade_kernel @@ -7,7 +7,8 @@ cp -v ../config .config make sudo make modules_install sudo cp -v arch/x86/boot/bzImage /boot/kernel -sudo md5sum /boot/kernel > /boot/kernel.md5 +sudo md5sum /boot/kernel > /tmp/kernel.md5 +sudo mv /tmp/kernel.md5 /boot/kernel.md5 sudo /sbin/lilo sudo rm /usr/src/linux sudo ln -s $(pwd) /usr/src/linux |