what is the "+" sigh in the modules folder name?
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'
where did the plus come from?
I'm asking because I have a /lib directory and the kernel sources for it. the problem is there is a closed source driver in the /lib directory and I want to compile a new kernel image, but can't re-compile the closed source modules. I'm guessing my new kernel isn't working because it's looking in the path with the + after being recompiled.
thanks,
Chris
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'
Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the Makefile in the main kernel source directory?
I am suspecting there is "+" character in the extraversion..but that needs to be checked....
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Quoted 9 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'
Quoted 6 lines
Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. The build system asks git about this when building the kernel.
It's normal, just only build a "clean" 2.6.37 and it will go away.
greg k-h
Quoted 14 lines · Greg KH
Quoted 13 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?
Quoted 6 lines
Quoted 2 lines
I am suspecting there is "+" character in the extraversion..but that needs to be checked....
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. The build system asks git about this when building the kernel.
you sure? i thought that if it was a modified working tree, you'd
get the "-dirty" qualifier added, not just a "+".
i should know this since i remember documenting it once upon a time.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 19 lines · Robert P. J. Day
Quoted 17 lines · Greg KH
Quoted 15 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
Quoted 6 lines
Quoted 3 lines
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. The build system asks git about this when building the kernel.
you sure? i thought that if it was a modified working tree, you'd
get the "-dirty" qualifier added, not just a "+".
Try it and see :)
Quoted 24 lines · Greg KH
Quoted 23 lines · Robert P. J. Day
Quoted 20 lines · Greg KH
Quoted 9 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Quoted 6 lines
Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. The build system asks git about this when building the kernel.
Quoted 6 lines
Quoted 2 lines
you sure? i thought that if it was a modified working tree, you'd
get the "-dirty" qualifier added, not just a "+".Try it and see :)
From what I can tell, the '+' means you are building source which includes
upstream commits after the last tag in the tree
So the current top-of-tree is 3.2.0+ because there are commits after the 3.2.0 tag
As I understand it, if you have commits which are not in the upstream repository (or uncommitted changes) you get the 'dirty' flag
Regards,
Graeme
Quoted 30 lines · Graeme Russ
Quoted 28 lines · Greg KH
Quoted 19 lines · Robert P. J. Day
Quoted 17 lines · Greg KH
Quoted 15 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
Quoted 6 lines
Quoted 3 lines
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. The build system asks git about this when building the kernel.
you sure? i thought that if it was a modified working tree, you'd
get the "-dirty" qualifier added, not just a "+".Try it and see :)
Quoted 8 lines
Quoted 1 line
From what I can tell, the '+' means you are building source which includes
upstream commits after the last tag in the tree
So the current top-of-tree is 3.2.0+ because there are commits after the 3.2.0 tag
As I understand it, if you have commits which are not in the upstream repository (or uncommitted changes) you get the 'dirty' flag
ok, that sounds about right. i should probably review that whole
versioning thing again.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 25 lines · Graeme Russ
Quoted 24 lines · Greg KH
Quoted 23 lines · Robert P. J. Day
Quoted 20 lines · Greg KH
Quoted 9 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Quoted 6 lines
Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. ?The build system asks git about this when building the kernel.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
? you sure? ?i thought that if it was a modified working tree, you'd get the "-dirty" qualifier added, not just a "+".
Try it and see :)
From what I can tell, the '+' means you are building source which includes
upstream commits after the last tag in the tree
Well that commits not necessarily are upstream ;-)
It only means that are commits after the last tag.
Regards,
Signature · 3 lines
Javier Mart?nez Canillas (+34) 682 39 81 69 Barcelona, Spain
Hi Javier,
Quoted 31 lines · Javier Martinez Canillas
Quoted 30 lines · Graeme Russ
Quoted 28 lines · Greg KH
Quoted 19 lines · Robert P. J. Day
Quoted 17 lines · Greg KH
Quoted 15 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
Quoted 6 lines
Quoted 3 lines
No, it just means you have a "modified" kernel tree, that is not reall 2.6.37, you have changed it somehow. ?The build system asks git about this when building the kernel.
? you sure? ?i thought that if it was a modified working tree, you'd get the "-dirty" qualifier added, not just a "+".
Try it and see :)
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
From what I can tell, the '+' means you are building source which includes
upstream commits after the last tag in the tree
Well that commits not necessarily are upstream ;-)
It only means that are commits after the last tag.
It would be worth testing if a checkout of a tag (say 3.2.0) plus a local commit causes '+' and 'dirty'
Regards,
Graeme
Quoted 2 lines · Graeme Russ
It would be worth testing if a checkout of a tag (say 3.2.0) plus a local commit causes '+' and 'dirty'
i think "dirty" only shows up if you have local, uncommitted
changes. but i should probably verify that.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Hi Robert,
Quoted 7 lines · Robert P. J. Day
Quoted 2 lines · Graeme Russ
It would be worth testing if a checkout of a tag (say 3.2.0) plus a local commit causes '+' and 'dirty'
?i think "dirty" only shows up if you have local, uncommitted changes. ?but i should probably verify that.
Hmm, if that is the case, I wonder if there is a way in git to tell if there are local commits that are not upstream
Regards,
Graeme
Quoted 8 lines · Robert P. J. Day
Quoted 2 lines · Graeme Russ
It would be worth testing if a checkout of a tag (say 3.2.0) plus a local commit causes '+' and 'dirty'
i think "dirty" only shows up if you have local, uncommitted
changes. but i should probably verify that.
I had a local commits when I compiled the kernel. I should have mentioned that in my original email.
Hi Christopher,
Quoted 1 line
From my knowledge it because of in linux-2.6.37/Makefile
In my case content of Lantiq_UGW_5.x/linux/Makefile
#head Lantiq_UGW_5.x/linux/Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
EXTRAVERSION = .32
NAME = Man-Eating Seals of Antiquity
# *DOCUMENTATION*
This EXTRAVERSION get added to Kernel build path
# Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
On My system on provide the following command.
#uname -r
#2.6.32.32
#
If you check the EXTRAVERSION?you will find the reason of '+'
Or Some were in the linux-2.6.37/Makefile you might be appending some extra FLAGS?or?environment variable to KERNELVERSION.
Read the linux-2.6.37/Makefile for details under the following line.
# Build the kernel release string
Please try to echo this "KERNELVERSION" during compilation of kernel. -Anand Moon
________________________________
From: Christopher Harvey <[email protected]>
To: kernelnewbies at kernelnewbies.org
Sent: Tuesday, January 24, 2012 8:46 PM
Subject: Re: what is the "+" sigh in the modules folder name?
Quoted 8 lines · Robert P. J. Day
Quoted 2 lines · Graeme Russ
It would be worth testing if a checkout of a tag (say 3.2.0) plus a local commit causes '+' and 'dirty'
? i think "dirty" only shows up if you have local, uncommitted changes.? but i should probably verify that.
I had a local commits when I compiled the kernel. I should have mentioned that in my original email.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120124/0eb98d2a/attachment.html
Quoted 9 lines · Mulyadi Santosa
Hi...
Quoted 4 lines · Christopher Harvey
I have a path on system called:
'/lib/modules/2.6.37+/'
It used to be called:
'/lib/modules/2.6.37/'
Quoted 6 lines
Hm strange. You said you have the kernel source, right? Can you show us about ten top lines of the
Makefilein the main kernel source directory?I am suspecting there is "+" character in the extraversion..but that needs to be checked....
i'd check scripts/setlocalversion, particularly this snippet around
line 50:
if [ -z "git describe --exact-match 2>/dev/null" ]; then
# If only the short version is requested, don't bother # running further git commands
if $short; then
echo "+"
return
fi
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================