Sign in to follow this  
Followers 0
TheFunk

Is it possible to change uname -r output?

3 posts in this topic

I recently compiled a shiny new 3.5.7-gentoo Linux kernel and was hoping to change the output of uname -r to something custom. I could always use an alias to make it seem like uname -r was returning something interesting like, "robot_heart_2.1", but I'd rather have the kernel name genuinely be customized. Does anyone know how to go about doing this?

0

Share this post


Link to post
Share on other sites

Reporting in.... I tried it. It was a bad idea. I recommend just setting an alias so that it looks like you have a weird kernel name. Don't mess with kernel headers, don't mess with kernel source, bad things happen, and I've learned my lesson.

0

Share this post


Link to post
Share on other sites

You can at least easily modify the suffix for your specific build. It's a kernel config option (iirc it's even visible in `make menuconfig`)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0