]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: Fix module signing exclusion in package builds
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 12 May 2017 20:29:18 +0000 (15:29 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:33:43 +0000 (07:33 -0500)
commitcd4436779f1d2917820936e5d6faca654b8a500c
treeab30764b94b9c3f28d43816c783cfba4e1664f37
parent11cd9476b3efbbc90e9c1572d309f269abd9b941
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>
scripts/Makefile.modinst