]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: [Debian] Support custom and lts kernels in printchanges/insertchanges
authorMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Mon, 10 Jul 2017 13:46:54 +0000 (10:46 -0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 17 Jul 2017 14:39:03 +0000 (16:39 +0200)
commite045aad82e1d8009b63b518044c0083269730f28
tree718c6f79da0abccd62b5ce3f8f17aa891409486a
parent956bcee9b5bb7bd7be9534d6ccbda2d0f4d7b355
UBUNTU: [Debian] Support custom and lts kernels in printchanges/insertchanges

Ignore: yes

Currently printchanges/insertchanges do not work for custom kernels
because commit messages for each release follow the format
"UBUNTU: Ubuntu-${flavour}-${prev_fullver}" instead of
"UBUNTU: Ubuntu-${prev_fullver}". Also, for the first release, the
previous version in the changelog does not match the version in the
previous release commit.

This patch makes the base commit selection more flexible, allowing
commit messages in the format "UBUNTU: Ubuntu-*${prev_fullver}" and it
fallbacks to the latest release commit when a exact match is not found
in order to support the custom kernels in their initial releases.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian/rules.d/1-maintainer.mk