[elbe-devel] [PATCH] debianize: kernel: libc: Reference correct headers

Kurt Kanzenbach kurt at linutronix.de
Tue Aug 25 14:07:28 CEST 2020


On Tue Aug 25 2020, Torben Hohn wrote:
> On Tue, Aug 18, 2020 at 05:01:17PM +0200, Kurt Kanzenbach wrote:
>> When using elbe debianize to generate a Debianization and build the Debian
>> packages afterwards, then the libc-dev package doesn't include the needed
>> header files (just a Makefile).
>> 
>> The build will install all headers to ./debian/tmp/usr/include/* which is
>> fine. However, dh_install seems to pick the Linux kernel's usr/include directory
>> in the source folder.
>> 
>> From the man-page of dh_install:
>> 
>> "From debhelper compatibility level 7 on, dh_install will fall back to looking
>> in debian/tmp for files, if it does not find them in the current directory"
>> 
>> It seems like dh_install picks up the [linux]/usr/include directory instead of
>> ./debian/tmp/usr/include/* directory, because the first one exists.
>> 
>> Therefore, specify the path explicitly to fix it.
>> 
>> Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
>
> Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

Pushed to lxcvs elbe, branch=devel/kurt-for-torben

Thanks,
Kurt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20200825/498cc0ba/attachment.sig>


More information about the elbe-devel mailing list