]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: [Debian] sign-file is now compiled
authorTim Gardner <tim.gardner@canonical.com>
Wed, 21 Oct 2015 15:24:46 +0000 (09:24 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
Since sign-file was originally a script, the reference to it never failed. Now that
it is compiled, the executable lives in the build directory.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
debian/rules.d/2-binary-arch.mk

index 61b2d1b1c8bf6e0793390d8a3cc74845286c9b5c..4d630f8fd1d8f394f2c98d815823853837d5de1e 100644 (file)
@@ -239,7 +239,7 @@ ifneq ($(skipdbg),true)
                        $(CROSS_COMPILE)objcopy \
                                --add-gnu-debuglink=$(dbgpkgdir)/usr/lib/debug/$$module \
                                $(pkgdir)/$$module; \
-                       scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) \
+                       $(builddir)/build-$*/scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) \
                                $(pkgdir)/$$module; \
                fi; \
        done