:: Re: [DNG] vdev
Top Page
Delete this message
Reply to this message
Author: aitor_czr
Date:  
To: fsmithred, Tom H, dng
Subject: Re: [DNG] vdev

Hi all,

On 08/15/2016 05:14 PM, aitor_czr wrote:
> Hi all,
>
> On 08/15/2016 10:41 AM, aitor wrote:
>> Yesterday i tried to debianize linux-libre-4.6.2 without libudev-dev.
>> Here you are the resulting *.build file:
>>
>> In summary, the kernel also needs the existence of udev. I will
>> remove this requeriment, removing the following lines:
>>
>> AC_CHECK_HEADER([libudev.h],
>>     [AC_CHECK_LIB([udev], [udev_new],
>>         [LIBS="$LIBS -ludev"],
>>         [AC_MSG_ERROR([Missing udev library!])])],
>>     [AC_MSG_ERROR([Missing /usr/include/libudev.h])])

>>
>> from the kernel, in *//tools/usb/usbip/configure.ac/*
>>
>> Jude Nelsons libudev-compat-dev is included as a dependency in
>> debian/control, and we don't need to check anything.
>>
>> As you know, libudev-compat-dev provides /*libudev.h*/ package...,
>> and now i'll again without *udev.h*
>>
>> Cheers,
>>
>> Aitor.
>
> The second attempt failed again



Building only the sources of *usb* in the kernel, doing:

make -C tools/usb

it works :)

So, surelly, it's failling due to the location of the dinamical
libraries of VDEV.


I'll separate libudev-compat-dev in two packages:


1) libudev-compat-dev, containing:

     -  /usr/include/libudev.h


     -  /lib/${ARCH}-linux-gnu/pkg-config/libudev.pc


     -  /lib/${ARCH}-linux-gnu/libudev.so      (pointing to --> 
libudev.so.1.5.2)



2) libudev1, containing:

     -  /lib/${ARCH}-linux-gnu/libudev.so.1      (pointing to --> 
libudev.so.1.5.2)


     -  /lib/${ARCH}-linux-gnu/libudev.so.1.5.2



I also will have to add in the debian/rules lines like:

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

CONFFLAGS = \
     --with-rootprefix= \
     --with-rootlibdir=/lib/$(DEB_HOST_MULTIARCH) \
     --with-sysvinit-path=/etc/init.d \
     --with-sysvrcnd-path=/etc \
     --with-firmware-path=/lib/firmware \


[ ... etc ...]


Cheers,

Aitor.