Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
manually patched kernel not identified
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
berg
n00b
n00b


Joined: 02 Feb 2004
Posts: 35

PostPosted: Thu Oct 10, 2013 7:42 pm    Post subject: manually patched kernel not identified Reply with quote

I'm aware that this scenario is not supported, but I wanted to share this information anyway...

I use a manually patched vanilla kernel (-ck patchset via "epatch_user()").

Recent changes in the way "get_version()" from linux-info.eclass determines the kernel version prevents this kernel from being correctly identified, because the EXTRAVERSION variable is a combination of two variables:

Code:

[...]
EXTRAVERSION =
[...]
CKVERSION = -ck1
CKNAME = BFS Powered
EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)
[...]


Which leads the kernel to be identified as:

Code:

$ emerge nvidia-drivers
[...]
 * Found sources for kernel version:
 *     3.10.15
 * $(EXTRAVERSION)$(CKVERSION)


Maybe kernel versions from the portage tree are also affected?
Back to top
View user's profile Send private message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 194

PostPosted: Thu Oct 10, 2013 10:48 pm    Post subject: Reply with quote

Same problem, same reason.

As a workaround I ended up editing /usr/src/linux-3.10.9-ck1/Makefile to this

Code:
VERSION = 3
PATCHLEVEL = 10
SUBLEVEL = 9
EXTRAVERSION = -ck1
NAME = TOSSUG Baby Fish
...
#EXTRAVERSION := $(EXTRAVERSION)$(CKVERSION)


This probably doesn't help you but might help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum