From patchwork Tue Jun 16 02:17:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 6612681 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A5FBCC0020 for ; Tue, 16 Jun 2015 02:17:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8A4220645 for ; Tue, 16 Jun 2015 02:17:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5665B2063B for ; Tue, 16 Jun 2015 02:17:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbbFPCRl (ORCPT ); Mon, 15 Jun 2015 22:17:41 -0400 Received: from imap.thunk.org ([74.207.234.97]:37144 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227AbbFPCRl (ORCPT ); Mon, 15 Jun 2015 22:17:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From; bh=wuGtE/tAy4CzOyF1TiJcvqwaf2VzUF0jPWaFheeXplU=; b=DUdibUQMb2+jYtm35alTcYQ5eZZch5GU5lfH0AHmJysEcIGiDz2C0r/yPMJgIKIepO7GIRczhyNk5m80TVcwIz7UjoG4EKBzZdxeaYhxkwUAF9RboUp/7+/nTpQZq16MdhJlS2hJ6iLpg7ymdIHZlg3DSYKTZbQ8cBszg7c3aRA=; Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.84) (envelope-from ) id 1Z4gRW-0002BS-RI; Tue, 16 Jun 2015 02:17:38 +0000 Received: by closure.thunk.org (Postfix, from userid 15806) id CE9EC580105; Mon, 15 Jun 2015 22:17:37 -0400 (EDT) From: Theodore Ts'o To: Michal Marek Cc: linux-kbuild@vger.kernel.org, Linux Kernel Developers List , Theodore Ts'o Subject: [PATCH] builddeb: sign the modules after splitting out the debuginfo files Date: Mon, 15 Jun 2015 22:17:26 -0400 Message-Id: <1434421046-4020-1-git-send-email-tytso@mit.edu> X-Mailer: git-send-email 2.3.0 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Theodore Ts'o --- 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