linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] builddeb: sign the modules after splitting out the debuginfo files
@ 2015-06-16  2:17 Theodore Ts'o
  2015-06-17  6:34 ` Riku Voipio
  0 siblings, 1 reply; 4+ messages in thread
From: Theodore Ts'o @ 2015-06-16  2:17 UTC (permalink / raw)
  To: Michal Marek
  Cc: linux-kbuild, Linux Kernel Developers List, Theodore Ts'o

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
 scripts/package/builddeb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 88dbf23..159ec7c 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -163,6 +163,9 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
 			$OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $tmpdir/$module
 		done
 	fi
+	if grep -q '^CONFIG_MODULE_SIG=y' $KCONFIG_CONFIG ; then
+		INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_sign
+	fi
 fi
 
 if [ "$ARCH" != "um" ]; then
-- 
2.3.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-28 19:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16  2:17 [PATCH] builddeb: sign the modules after splitting out the debuginfo files Theodore Ts'o
2015-06-17  6:34 ` Riku Voipio
2015-07-28 19:27   ` Theodore Ts'o
2015-07-28 19:54     ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).