FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-07-2010, 02:51 PM
Chase Douglas
 
Default UBUNTU: don't force module dependency checking

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 <chase.douglas@canonical.com>
---
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) &&
--
1.7.0.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-10-2010, 12:53 PM
Leann Ogasawara
 
Default UBUNTU: don't force module dependency checking

On Fri, 2010-05-07 at 10:51 -0400, Chase Douglas wrote:
> 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 <chase.douglas@canonical.com>

Even though it's slightly mis-leading to always touch no-modules even in
the event there are, I don't see this having any adverse affect with the
build itself.

Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>

> ---
> 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) &&
> --
> 1.7.0.4
>
>



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 03:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org