[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New kernel headers break LVM build

You might be able to get away w/ simply including the lvm-specific kernel
headers in your package, as long as the lower level asm stuff that it uses
haven't changed their interface in 2.6.  OTOH, it also might introduce
subtle bugs.  Maybe you're better off build-dep'ing.

Sigh.  I should probably rebuild lvm2 to see if the new kernel-headers
package breaks it; I currently include 2.4 kernel headers in the package.

On Wed, 19 Nov 2003 15:53:58 +0000, Patrick Caulfield wrote:

> On Wed, Nov 19, 2003 at 03:33:53PM +0100, Christoph Hellwig wrote:
>> On Wed, Nov 19, 2003 at 02:18:34PM +0000, Patrick Caulfield wrote:
>> > The only solution I can think of is for the lvm10 package to build-depend on
>> > (eg) kernel-source-2.4.19, then in the build script untar the header
>> > files, make the arch symlink (ugh) and compile against that.
>> > 
>> > Does anyone else have any nicer ideas? apart from getting everyone to migrate to
>> > LVM2 :-)
>> Fix LVM1 to keep copies of the headers it needs in it's source tree.
> including asm directories for all 18 architectures. Ah well; if it's already
> gross, making it hugely gross is not much of a descent.

Reply to: