From patchwork Wed Jun 2 07:50:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 54348 X-Patchwork-Delegate: leann.ogasawara@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 CB2B3B7D61 for ; Wed, 2 Jun 2010 17:50:17 +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 1OJiiK-0001SL-OK; Wed, 02 Jun 2010 08:50:12 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OJiiJ-0001SF-Ml for kernel-team@lists.ubuntu.com; Wed, 02 Jun 2010 08:50:11 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJiiJ-0006a4-9Q for ; Wed, 02 Jun 2010 08:50:11 +0100 Received: from cpc2-aztw21-0-0-cust264.aztw.cable.virginmedia.com ([77.100.97.9] helo=[192.168.0.130]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OJiiJ-0006NF-56 for kernel-team@lists.ubuntu.com; Wed, 02 Jun 2010 08:50:11 +0100 Message-ID: <4C060D33.30008@canonical.com> Date: Wed, 02 Jun 2010 08:50:11 +0100 From: Lee Jones User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: kernel-team Subject: [Maverick][PATCH] UBUNTU: 'fdr editconfig' modification. Easily skip over unwanted menuconfigs. X-Enigmail-Version: 1.0.1 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: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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(-) + done + ;; *) # Bad! exit 1 ;; esac Kind regards, Lee Acked-by: Amit Kucheria Acked-by: Chase Douglas 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