kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Practical way to rename kernel-release on custom kernel
@ 2014-07-10 15:28 Safarin
  2014-07-10 15:56 ` AYAN KUMAR HALDER
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Safarin @ 2014-07-10 15:28 UTC (permalink / raw)
  To: kernelnewbies

Hi Guys,

This question might be very easy for all of you. But seem this is
kernelnewbies mailing list. I need to ask this question.

I in the middle of learning to build custom kernel and my question is
how to have custom name for kernel version.

$ uname -r

I can see custom kernel print message.

>From what I read, we can change inside .config 
CONFIG_LOCALVERSION="-ARCH"
will produce the kernel release naming something like this.
3.16.0-rc3-ARCH

But somehow, when I try to install the modules

$make modules_install 

I can see makefile create folder inside the lib/modules with naming
3.16.0-rc3-ARCH-00570-g110e430

110e430 is actually commit id and I check that naming is generated by 
#define UTS_RELEASE "3.16.0-rc3-ARCH-00570-g110e430" in the
"include/generated/utsrelease.h" header  which will
overwrite "include/config/kernel.release".

Back to the question, what is the practical way to naming the kernel
release for custom kernel? with additional question for understanding
more from where that utsrelease came from?

Thanks,

Regards,
Safarin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-11 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 15:28 Practical way to rename kernel-release on custom kernel Safarin
2014-07-10 15:56 ` AYAN KUMAR HALDER
2014-07-11  0:47 ` shhuiw
2014-07-11  7:24   ` shhuiw
2014-07-11 18:08     ` Safarin
2014-07-11  3:03 ` Anil Shashikumar Belur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).