-current users: Do you recompile kernels after updating?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been playing with kernel 3.19 on a spare laptop with -current on it, just for the sake of re-learning. Its been a long time since I had to compile one.
There are a lot of reasons that compiling your own kernel that your PC can benefit from. Security, speed and stability are just a few.
I recompile the Slackware kernel and take out stuff I don't need for my system (especially modules). I use it as back up in case one of my home cooked kernels fails. I have compiled my own kernels for years because of Gentoo/Funtoo/Crux/LFS usage so I consequently do it for all distros I run. These everything including the kitchen sink kernels that work OOTB are great for most users(especially on stable systems) and to have as a back up but once you "have to" compile/recompile your kernel and do it a few times, you realize that it's not that intimidating of a task. I'm running 3.18.7 with Slackware current right now.
I update my kernels periodically to the latest of Greg's stable branch kernels, but it has nothing to do with anything that goes on in -current. Like ryan, I've scripted the build process, so build effort is minimal.
I usually ony recompile kernels on older hardware where resources are limited. When I do recompile a kernel I get rid of everthing I don't need or plan on not using. I always keep a working kernel in case I take out items I needed for things to work.
Last edited by colorpurple21859; 02-18-2015 at 12:14 PM.
But I do not usually recompile after updates. I do, however, reinstall quite often.
I tried it but it only got this far:
Code:
./kernelMe.sh: line 197: warning: here-document at line 34 delimited by end-of-file (wanted `EOF')
./kernelMe.sh: line 198: syntax error: unexpected end of file
No, I don't update kernel. You must only be sure that new glibc support your kernel. "Current" requires now 3.2.29 kernel, if you have newer one, you don't need update it.
./kernelMe.sh: line 197: warning: here-document at line 34 delimited by end-of-file (wanted `EOF')
./kernelMe.sh: line 198: syntax error: unexpected end of file
Do you have kernelMe.sh in /usr/src?
EDIT:
Try reinstalling the script, there isn't a EOF on that line, so clearly something happened in transit. For convenience I added a quick install tut at the top of the script:
Code:
################################
### TO INSTALL/USE:
### wget -N https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/slackware/kernelMe.sh -P /usr/src/
### cd /usr/src/
### sh kernelMe.sh
################################
Last edited by ryanpcmcquen; 02-18-2015 at 12:54 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.