]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
UBUNTU: [Packaging] Fix module signing with older modinfo
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 18 Nov 2019 15:39:00 +0000 (16:39 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 4 Dec 2019 09:29:26 +0000 (10:29 +0100)
commit713e7573a475d2601052335b17c6b353d5f09dfd
treef7c2d6f1620d5188f751dd2423bf3dfedcbbaefb
parent55a8ea31c7b461f959b4cf6086b32874106b622a
UBUNTU: [Packaging] Fix module signing with older modinfo

BugLink: https://bugs.launchpad.net/bugs/1852581
Not all versions of modinfo support the signer field;
specifically, the version in boinic does not. This leaves all
modules unsigned in hwe kernels based on eoan and later. Change
the check to look for the magic string at the end of the module,
which does not rely on any external tools being aware of module
signatures.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian/rules.d/2-binary-arch.mk