From: David Woodhouse Date: Mon, 20 Jul 2015 20:16:28 +0000 (+0100) Subject: modsign: Abort modules_install when signing fails X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=caf6fe91ddf62a96401e21e9b7a07227440f4185;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git modsign: Abort modules_install when signing fails Signed-off-by: David Woodhouse Signed-off-by: David Howells --- diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index e48a4e9d8868..07650eeaaf06 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst @@ -22,7 +22,7 @@ quiet_cmd_modules_install = INSTALL $@ mkdir -p $(2) ; \ cp $@ $(2) ; \ $(mod_strip_cmd) $(2)/$(notdir $@) ; \ - $(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD)) ; \ + $(mod_sign_cmd) $(2)/$(notdir $@) $(patsubst %,|| true,$(KBUILD_EXTMOD)) && \ $(mod_compress_cmd) $(2)/$(notdir $@) # Modules built outside the kernel source tree go into extra by default