[gentoo-user] Re: set local kenel version
Alan McKinnon alan.mckin...@gmail.com writes: So for linux-2.6.30-gentoo-r1 and in /usr/src/linux cat localverion1: _reader_ Cat .version: 1 And the symlink ls -l localversion2 lrwxrwxrwx [...] Jun 12 18:01 localversion2 - .version I get this naming after a build: vimlinuz-2.6.30-gentoo-r1_reader_ No version gets appended. I understood it should have also append the numeric version and increment it each time I build that kernel. Anyone see where I'm dorking this up? I only see two thing: Did you set both () Local version - append to kernel release That one needs to be left blank right? Else what ever you put there will appear in kernel name and I'm using localversion files for that. [ ] Automatically append version information to the version string This one is checked. In General setup? Second, you appear to have used a file called localverion1 instead of localversion1 Is that a real mistake, or just a typo in your mail? Its a typo... I just checked to make sure though.. would have been nice if a real missnaming was the problem. ls -l /usr/src/linux/localversion* -rw-r--r-- 1 root root 5 Jun 12 18:01 /usr/src/linux/localversion1 lrwxrwxrwx 1 root root 8 Jun 12 18:01 /usr/src/linux/localversion2 - .version
Re: [gentoo-user] Re: set local kenel version
On Saturday 13 June 2009 18:05:37 Harry Putnam wrote: Is that a real mistake, or just a typo in your mail? Its a typo... I just checked to make sure though.. would have been nice if a real missnaming was the problem. ls -l /usr/src/linux/localversion* -rw-r--r-- 1 root root 5 Jun 12 18:01 /usr/src/linux/localversion1 lrwxrwxrwx 1 root root 8 Jun 12 18:01 /usr/src/linux/localversion2 - .version Pity - I was hoping you'd have an easy fix here :-) localversion is a feature I never use, so I fear I won't be able to help you much further... -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: set local kenel version
On 06/13/2009 05:27 PM, Harry Putnam wrote: Setting a version to local kernel builds has been discussed here so sorry to bang on it some more. I found information here from a previous thread and kept one of the answers but finding now that I don't really understand it. Or am doing the proceedure wrong. It was Neil B's post: [...] cd /usr/src/linux echo -${MYHOST}-localversion1 [...] But when I try this I get only the $MYHOST part (in this case host=reader) and not the increment. So for linux-2.6.30-gentoo-r1 and in /usr/src/linux cat localverion1: _reader_ It doesn't seem you followed the instructions correctly. I don't know if that's the cause of the problem, but the instructions said: echo -${MYHOST}-localversion1 but you seem to have used: echo _${MYHOST}_localversion1 instead.
[gentoo-user] Re: set local kenel version
Alan McKinnon alan.mckin...@gmail.com writes: On Saturday 13 June 2009 18:05:37 Harry Putnam wrote: Is that a real mistake, or just a typo in your mail? Its a typo... I just checked to make sure though.. would have been nice if a real missnaming was the problem. ls -l /usr/src/linux/localversion* -rw-r--r-- 1 root root 5 Jun 12 18:01 /usr/src/linux/localversion1 lrwxrwxrwx 1 root root 8 Jun 12 18:01 /usr/src/linux/localversion2 - .version Pity - I was hoping you'd have an easy fix here :-) localversion is a feature I never use, so I fear I won't be able to help you much further... You did already you made me look around better and finally recompile to test once more and now it works. Some kind of operator dimmness going on before I guess.
Re: [gentoo-user] Re: set local kenel version
On Saturday 13 June 2009 20:13:06 Harry Putnam wrote: Alan McKinnon alan.mckin...@gmail.com writes: On Saturday 13 June 2009 18:05:37 Harry Putnam wrote: Is that a real mistake, or just a typo in your mail? Its a typo... I just checked to make sure though.. would have been nice if a real missnaming was the problem. ls -l /usr/src/linux/localversion* -rw-r--r-- 1 root root 5 Jun 12 18:01 /usr/src/linux/localversion1 lrwxrwxrwx 1 root root 8 Jun 12 18:01 /usr/src/linux/localversion2 - .version Pity - I was hoping you'd have an easy fix here :-) localversion is a feature I never use, so I fear I won't be able to help you much further... You did already you made me look around better and finally recompile to test once more and now it works. Some kind of operator dimmness going on before I guess. :-) That sounds awfully familiar, I wonder who do I know that does that all the time himself? Oh wait, it's me :-) -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: set local kenel version
rea...@newsguy.com writes: Just for you own info in case you ever want to do it not that wasn't why it didn't work. Jesus... I'm getting more illiterate as time goes on. Should say: Just for [your] own info in case you ever want to do it... [No], that wasn't why it didn' work.
Re: [gentoo-user] Re: set local kenel version
On Sat, 13 Jun 2009 13:13:06 -0500, Harry Putnam wrote: You did already you made me look around better and finally recompile to test once more and now it works. Some kind of operator dimmness going on before I guess. .version isn't set until after the first make run, so it will show up as blank the first time you compile a new kernel. -- Neil Bothwick The cow is nothing but a machine which makes grass fit for us people to eat. signature.asc Description: PGP signature