]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: Fix module signing exclusion in package builds
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 15 May 2017 20:37:56 +0000 (15:37 -0500)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:49:56 +0000 (10:49 +0200)
commitf4798876e05ba5265c15bbcfc8b02b14390a343b
treeaaabe0015e544df3ecee6b4086b0e3dc05952c4c
parent5cb9de4f58d136da982c916fb9f5275f027dd360
UBUNTU: SAUCE: Fix module signing exclusion in package builds

BugLink: http://bugs.launchpad.net/bugs/1690908
The current module signing exclusion implementation suffers from
two problems. First, it looks for the signed-inclusion file
relative to the path where make is executed and thus doesn't work
if the source and build directories are different. Second, the
signed-inclusion file lists only the module name, but the strings
searched for in the file include the path (and the path to the
module install location at that).

Fix these problems by updating scripts/Makefile.modinst to look
for signed-inclusion relative to the path of the source tree and
to use only the module name when matching against the contents of
that file.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
scripts/Makefile.modinst