[gentoo-user] Re: Append string on Kernel builds

2009-01-18 Thread Harry Putnam
David Relson writes: > How about an external tool? I use sed to fill in LOCALVERSION, e.g. > > V=$( date "+%m%d.%H%M" ) > cp -p .config .config.old > sed s/LOCALVERSION.*/LOCALVERSION=\"$V\"/ < .config.old > .config > > make vmlinux modules modules_install Ahaa ... that looks just like

Re: [gentoo-user] Re: Append string on Kernel builds

2009-01-18 Thread David Relson
On Sat, 17 Jan 2009 08:45:04 -0600 Harry Putnam wrote: > Robert Bridge writes: > > > On Fri, 16 Jan 2009 19:36:42 -0600 > > rea...@newsguy.com wrote: > >> What I asked was if there is some tricky syntax I could use on that > >> kernel setting that would do: linux-2.6.26-gentoo-$HOST-N > >> Wher

[gentoo-user] Re: Append string on Kernel builds

2009-01-17 Thread Harry Putnam
Robert Bridge writes: > On Fri, 16 Jan 2009 19:36:42 -0600 > rea...@newsguy.com wrote: >> What I asked was if there is some tricky syntax I could use on that >> kernel setting that would do: linux-2.6.26-gentoo-$HOST-N >> Where N is an incremented number every time I build the kernel without >>

Re: [gentoo-user] Re: Append string on Kernel builds

2009-01-17 Thread Robert Bridge
On Fri, 16 Jan 2009 19:36:42 -0600 rea...@newsguy.com wrote: > What I asked was if there is some tricky syntax I could use on that > kernel setting that would do: linux-2.6.26-gentoo-$HOST-N > Where N is an incremented number every time I build the kernel without > running `mrproper'. Not quite w

[gentoo-user] Re: Append string on Kernel builds

2009-01-16 Thread reader
Dirk Heinrichs writes: >> I like to use that and put `-$MYHOST' as string. I wondered if there >> is any way to set a numericly incrementing string. Maybe some trick >> syntax that can go in that spot? > > The build system does that automatically as long as you don't "make > mrproper", > see