From patchwork Fri May 7 14:51:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chase Douglas X-Patchwork-Id: 51921 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 357C2B7D70 for ; Sat, 8 May 2010 00:52:04 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OAOuD-0005ok-2k; Fri, 07 May 2010 15:51:57 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OAOuA-0005oX-Up for kernel-team@lists.ubuntu.com; Fri, 07 May 2010 15:51:54 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OAOuA-0006Te-Sg for ; Fri, 07 May 2010 15:51:54 +0100 Received: from cpe-75-180-27-10.columbus.res.rr.com ([75.180.27.10] helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OAOuA-0002Ju-Jv for kernel-team@lists.ubuntu.com; Fri, 07 May 2010 15:51:54 +0100 From: Chase Douglas To: kernel-team@lists.ubuntu.com Subject: [MAVERICK][PATCH] UBUNTU: don't force module dependency checking Date: Fri, 7 May 2010 10:51:51 -0400 Message-Id: <1273243911-28016-1-git-send-email-chase.douglas@canonical.com> X-Mailer: git-send-email 1.7.0.4 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com kernel-wedge copy-modules deals with module dependencies, and it errors out if it can't find any interdependencies in modules.dep thinking it's an error. However, sometimes we just want to build a kernel without any modules. In this case, we need to override the check, which this change does. BugLink: http://bugs.launchpad.net/bugs/577029 Signed-off-by: Chase Douglas Acked-by: Leann Ogasawara --- debian/rules.d/5-udebs.mk | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/debian/rules.d/5-udebs.mk b/debian/rules.d/5-udebs.mk index 4a8a9b4..24fbadf 100644 --- a/debian/rules.d/5-udebs.mk +++ b/debian/rules.d/5-udebs.mk @@ -19,6 +19,9 @@ do-binary-udebs: /sbin/depmod -b debian/d-i-${arch} $$i; \ done + # kernel-wedge will error if no modules unless this is touched + touch $(CURDIR)/debian/build/no-modules + touch ignore-dups export SOURCEDIR=$(CURDIR)/debian/d-i-${arch} && \ cd $(builddir) && \