On Mon, 02 Feb 2009 09:22:29 -0600 Harry Putnam wrote: > Neil Bothwick <[email protected]> writes: > > > cd /usr/src/linux > > echo "$(hostname)-" >localversion1 > > ln -s .version localversion2 > > > > will give each kernel a name with the hostname and version > > added. .version is automatically incremented each time you run make. > > I'm sorry for being so dense but that isn't clear to my pea brain > either. > > The idea from above is to end up with: > > localversion1 > localversion2 -> .version > .version > > Where: > localversion1 contains HOSTNAME > .version contains number `N' (current build) > localversion2 is symlinked to .version > > All under /usr/src/linux ? > > If you're sick of trying to explain it to me... maybe a pointer to the > documentation? >
With LOCALVERSION="-aaa" in linux/.config and "-bbb-" in linux/localversion1 and "3" in linux/.version and a symlink from localversion2 to .version running "genkernel all" produces a kernel named "linux-2.6.28-bbb-3-aaa"

