what is the "+" sigh in the modules folder name?

Robert P. J. Day rpjday at crashcourse.ca
Mon Jan 23 12:36:29 EST 2012


On Tue, 24 Jan 2012, Mulyadi Santosa wrote:

> Hi...
>
> On Mon, Jan 23, 2012 at 23:15, Christopher Harvey
> <chris at basementcode.com> wrote:
> > 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....

  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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Kernelnewbies mailing list