Bug#285359: [Fwd: Re: the extraversion problem]
Problem resolved.
If the Unbuntu
linux-headers-2.6.8.1-3/Makefile
is edited to:
EXTRAVERSION =
and the original
linux-headers-2.6.8.1-3-686/.extraversion
-3-686
edited to
.1-3--686
Then after compilation of the drivers and
# make install
the drivers are properly installed to:
lib
`-- modules
`-- 2.6.8.1-3-386
`-- extra
|-- lt_modem.ko
`-- lt_serial.ko
Thus the Debian Bug 285359 against kernel-build can be dropped,
Note that in in the Ubuntu packages linux-headers-2.6.8.1 and
linux-headers-2.6.8.1-3-686
there is assignment:
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
so please transfer the Bug Report to those packages
The problem resides purely in the inappropriate split of EXTRAVERSION into
EXTRAVERSION = .1
in linux-headers-2.6.8.1-3/Makefile
and -3-686
in linux-headers-2.6.8.1-3-686/.extraversion
Credit to,
Alexei Chentsov <chentsov@univ.kiev.ua>
-------- Original Message --------
Subject: Re: the extraversion problem
Date: Tue, 14 Dec 2004 10:26:33 +0200
From: Alexei Chentsov <chentsov@univ.kiev.ua>
To: Marvin Stodolsky <marvstod@rcn.com>
CC: Mark Spieth <mark@dclabs.com.au>
References: <41BBC27D.1000109@rcn.com>
<02f001c4e016$569a6d80$152ca8c0@digivation.com.au>
<41BC5C70.6030107@rcn.com>
<000e01c4e09c$d22b7580$36020a0a@raywood.local>
<41BCD828.5040601@rcn.com> <003701c4e0ed$1e90e5e0$85f19fd5@futurer>
<41BD9992.3080303@rcn.com>
I couldn't find kernel-headers-2.6.8.1-3*. It seems to be included in Ubuntu
which doesn't provide packages on the net.
I will talk about unstable debian packages kernel-headers-2.6.8-1*. I get
familiarized with them. They look Ok. Extra version is taken from
'.extraversion' file provided by kernel-headers-2.6.8-1-X package. But this
happens only if EXTRAVERSION in major Makefile is empty:
---
ifeq ($(EXTRAVERSION),)
EXTRAVERSION := $(shell [ ! -f .extraversion ] || cat .extraversion)
endif
---
I assume those problems were due to either Ubuntu making a mess or manual
editing of Makefile when
EXTRAVERSION was set to .1.
Marvin if you won't mind send the Makefile in question.
Regards.
Reply to: