View previous topic :: View next topic |
Author |
Message |
asianboi2k n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jan 2003 Posts: 50
|
Posted: Wed Sep 22, 2004 1:44 pm Post subject: kernel upgrade question |
|
|
hey I was wondering is there any program or script that I could use to recompile the compile the kernel and emerge nvidia automatically and replace the old bzImage file? I hate having to setup the kernel every time there is a new upgrade, but I still want to upgrade. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pink Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/19189379604205f85596db4.jpg)
Joined: 24 Jul 2003 Posts: 1062
|
Posted: Wed Sep 22, 2004 3:28 pm Post subject: |
|
|
I use a simple alias in bash to do a few things for me when I'm pretty sure a kernel compile will work (this is from memory so if some of the commands are a bit wrong the that's why but you get the idea).
Code: | alias Compile='make && make modules_install && emerge ati-drivers && opengl-update ati && mount /boot && cp arch/i386/boot/bzImage /boot/bzImage.test && umount /boot'
|
I only use this when I'm sure it'll work and I can't be bothered to do each process automatically, and I only use it after I have checked the kernel config by hand, I would never let a script do that for me.
I have a few other ones that break it down, such as 'Ati' will emerge the drivers and then opengl-update and so on.
Might help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|