Reputation: 1007
I have recently git cloned the kernel of Linus Torvalds. I want to build and install this kernel in my laptop. But because I want to use "kernel-of-the-day" I want to enable CONFIGURE_LOCALVERSION_AUTO
option. But how should I enable this option I don't know that. Where to find this option?
Upvotes: 3
Views: 1619
Reputation: 142535
Use menuconfig
or xconfig
, to configure Linux kernel these interfaces are used. Modifying .config file directly is discouraged. Inside your kernel source tree do make menuconfig
or make xconfig
- use anyone you like. On kernel configuration menu you'll find General Setup
Option, inside this option you'll find Automatically append version information to the version string
, toggle it to enable/disable.
Upvotes: 3
Reputation: 6768
After you have cloned the Linus repository repository. You would need to either create a fresh .config
file in the ./linux
folder or copy the existing config
file from your /boot
and later modify it. Then edit the .config
file and set CONFIG_LOCALVERSION_AUTO=y
`cp /boot/config-`uname -r` .config`
Upvotes: 1