UBUNTU: SAUCE: Switch to using debian/scripts/sign-module
Use the new script debian/scripts/sign-module to determine if a modules needs to be signed. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
fd1e5c6c54
commit
92d45f7cfe
@@ -101,11 +101,9 @@ else
|
||||
sig-key := $(CONFIG_MODULE_SIG_KEY)
|
||||
endif
|
||||
quiet_cmd_sign = SIGN $@
|
||||
cmd_sign = if echo "$@" | grep -qF "/drivers/staging/" && \
|
||||
test -f $(srctree)/debian/signature-inclusion && \
|
||||
! grep -qFx "$(notdir $@)" $(srctree)/debian/signature-inclusion ; \
|
||||
then echo "UBUNTU: Not signing $@" ; \
|
||||
else scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(sig-key) certs/signing_key.x509 $@ \
|
||||
cmd_sign = if test -e $(srctree)/debian/scripts/sign-module && \
|
||||
$(srctree)/debian/scripts/sign-module $@ ; \
|
||||
then scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(sig-key) certs/signing_key.x509 $@ \
|
||||
$(if $(KBUILD_EXTMOD),|| true) ; \
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user