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 06-02-2010, 08:10 AM
Eric Miao
 
Default UBUNTU: 'fdr editconfig' modification. Easily skip over unwanted menuconfigs.

On Wed, Jun 2, 2010 at 3:53 PM, Lee Jones <lee.jones@canonical.com> wrote:
> On 02/06/10 08:50, Lee Jones wrote:
>> All,
>>
>> It is now easier to edit 'per-flavour' configuration files. The old
>> system forced the developer to enter a menuconfig system for each
>> flavour until eventually landing in the required one. After following
>> this process numerous times it can easily become tedious. Now the
>> developer is asked whether they want to enter each menuconfig in turn,
>> rapidly speeding up the process.
>>
>> The following changes since commit a8e1af2ae65acbed1b4e1009a80d2371a484aec9:
>> * Leann Ogasawara (1):
>> * * * * UBUNTU: Ubuntu-2.6.34-2.9
>>
>> are available in the git repository at:
>>
>> * git://kernel.ubuntu.com/lag/ubuntu-maverick.git editconfig
>>
>> Lee Jones (1):
>> * * * UBUNTU: 'fdr editconfig' modification. Easily skip over unwanted
>> menuconfigs.
>>
>>
>> *debian/scripts/misc/kernelconfig | * 21 +++++++++++++++------
>> *1 files changed, 15 insertions(+), 6 deletions(-)
>>
>> diff --git a/debian/scripts/misc/kernelconfig
>> b/debian/scripts/misc/kernelconfig
>> index 71c0f5e..3181978 100755 (executable)
>> --- a/debian/scripts/misc/kernelconfig
>> +++ b/debian/scripts/misc/kernelconfig
>> @@ -51,9 +51,6 @@ for arch in $archs; do
>> * * * * * * * * *) * * *kernarch="$arch" * * * *;;
>> * * * * esac
>>
>> - * * * echo ""
>> - * * * echo "***************************************"
>> - * * * echo "* Processing $arch ($kernarch) ... "
>> * * * * archconfdir=$confdir/$arch
>> * * * * flavourconfigs=$(cd $archconfdir && ls config.flavour.*)
>>
>> @@ -96,9 +93,21 @@ for arch in $archs; do
>> * * * * * * * * * * * * * * * * make O=`pwd`/build ARCH=$kernarch
>> oldconfig ;;
>> * * * * * * * * * * * * * * editconfig)
>> * * * * * * * * * * * * * * * * # Interactively edit config parameters
>> - * * * * * * * * * * * * * * * echo " * Run menuconfig on
>> $arch/$config... Press a key."
>> - * * * * * * * * * * * * * * * read
>> - * * * * * * * * * * * * * * * make O=`pwd`/build ARCH=$kernarch
>> menuconfig ;;
>> + * * * * * * * * * * * * * * * while : ; do
>> + * * * * * * * * * * * * * * * * * * * echo -n "Do you want to edit
>> config: $arch/$config? [Y/n] "
>> + * * * * * * * * * * * * * * * * * * * read choice
>> +
>> + * * * * * * * * * * * * * * * * * * * case "$choice" in
>> + * * * * * * * * * * * * * * * * * * * y* | Y* | "" )
>> + * * * * * * * * * * * * * * * * * * * * * * * make O=`pwd`/build
>> ARCH=$kernarch menuconfig
>> + * * * * * * * * * * * * * * * * * * * * * * * break ;;
>> + * * * * * * * * * * * * * * * * * * * n* | N* )
>> + * * * * * * * * * * * * * * * * * * * * * * * break ;;
>> + * * * * * * * * * * * * * * * * * * * *)
>> + * * * * * * * * * * * * * * * * * * * * * * * echo "Entry not valid"
>> + * * * * * * * * * * * * * * * * * * * esac
>> + * * * * * * * * * * * * * * * done
>> + * * * * * * * * * * * * * * * ;;
>> * * * * * * * * * * * * * * *) *# Bad!
>> * * * * * * * * * * * * * * * * exit 1 ;;
>> * * * * * * * * * * * * esac
>>
>> Kind regards,
>> Lee
>>
>>
>
> I don't know why it insists on line wrapping!
>
> Is this still suitable?
>

I guess Thunderbird needs training, see Documentation/email-clients.txt

The idea is good. Yet not sure if it's better for fdr editconfig to
accept a list
of flavors to edit? i.e. fdr editconfig ti-omap
--
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 10:52 AM.

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