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 03-17-2010, 04:01 PM
Andy Whitcroft
 
Default UBUNTU: config -- allow locally specified configuration overrides

When updating configuration you often want to bulk update specific options
in every configuration. For new options this is trivial as you can simply
add them to config.common.<family>. For existing options you need to
either remove the options globally and then add them, or add them to
every flavour file. This is particularly problematic for mainline builds.

Add support for a new $(DEBIAN)/config/OVERRIDES file which if present is
appended to the built configs before processing, providing an absolute
override for all configurations. This is not expected to be present in
the normal case.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
debian/scripts/misc/kernelconfig | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/debian/scripts/misc/kernelconfig b/debian/scripts/misc/kernelconfig
index 936680c..71c0f5e 100755
--- a/debian/scripts/misc/kernelconfig
+++ b/debian/scripts/misc/kernelconfig
@@ -73,6 +73,9 @@ for arch in $archs; do
cat $archconfdir/config.common.$arch >> "$fullconf"
fi
cat "$archconfdir/$config" >>"$fullconf"
+ if [ -f $confdir/OVERRIDES ]; then
+ cat $confdir/OVERRIDES >> "$fullconf"
+ fi
;;
esac
done
--
1.7.0


--
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 11:21 AM.

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