]> git.baikalelectronics.ru Git - kernel.git/commit
builddeb: Pass the kernel:debarch substvar to dpkg-genchanges
authorSven Joachim <svenjoac@gmx.de>
Thu, 9 Nov 2017 18:27:06 +0000 (19:27 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Nov 2017 14:19:05 +0000 (23:19 +0900)
commit06026168e2525674f5ca34b1872db5b7ff78e094
tree25e1594fe0e9fe4dcac24a4388d3206d6187c58d
parentb1458fc6e58f4a7f832273e58b1053ba75dbcec3
builddeb: Pass the kernel:debarch substvar to dpkg-genchanges

At the end of "make bindeb-pkg" I noticed the following warning:

dpkg-genchanges: warning: unknown substitution variable ${kernel:debarch}

It turns out that since dpkg version 1.19.0 dpkg-genchanges honors
substitution variables in the Description field, while earlier
versions silently left them alone, see https://bugs.debian.org/856547.

The result is an incomplete description of the linux-headers package
in the generated .changes file.  Fix it by passing the kernel:debarch
substitution variable to dpkg-genchanges.

Signed-off-by: Sven Joachim <svenjoac@gmx.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/builddeb