From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5B480E008D6 for ; Mon, 10 Mar 2014 16:47:22 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 10 Mar 2014 16:47:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,627,1389772800"; d="scan'208";a="495789341" Received: from twillis1-mobl1.amr.corp.intel.com (HELO [10.254.38.139]) ([10.254.38.139]) by fmsmga002.fm.intel.com with ESMTP; 10 Mar 2014 16:47:17 -0700 User-Agent: Microsoft-MacOutlook/14.3.9.131030 Date: Mon, 10 Mar 2014 16:47:43 -0800 From: Darren Hart To: "Rifenbark, Scott M" , =?ISO-8859-1?B?Sm/jbw==?= Henrique Ferreira de Freitas , "yocto@yoctoproject.org" Message-ID: Thread-Topic: [yocto] [yocto-docs][PATCH] kernel-dev: Updates "Generating Configuration Files" section References: <1394072458-5930-1-git-send-email-joaohf@gmail.com> <41DEA4B02DBDEF40A0F3B6D0DDB1237983F79BAB@ORSMSX101.amr.corp.intel.com> <41DEA4B02DBDEF40A0F3B6D0DDB1237983F79BF2@ORSMSX101.amr.corp.intel.com> In-Reply-To: <41DEA4B02DBDEF40A0F3B6D0DDB1237983F79BF2@ORSMSX101.amr.corp.intel.com> Mime-version: 1.0 Subject: Re: [yocto-docs][PATCH] kernel-dev: Updates "Generating Configuration Files" section X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 23:47:23 -0000 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 3/10/14, 15:02, "Rifenbark, Scott M" wrote: >What you are saying is that the current method works for pre-1.6. And, >the proposed changes from the patch apply only to 1.6 and on. I would >apply the patch only to the "latest" version of the docs, which is the >tip of master and will be for 1.6. OK. My hesitation/question here is about the expectation of the document. If someone is working on the 1.5 release, should they ONLY use the 1.5 documentation? Does this mean you "backport" fixes from the current development docs back to the previous releases of the docs? -- Darren > >Scott > >>-----Original Message----- >>From: Darren Hart [mailto:dvhart@linux.intel.com] >>Sent: Monday, March 10, 2014 5:00 PM >>To: Rifenbark, Scott M; Jo=E3o Henrique Ferreira de Freitas; >>yocto@yoctoproject.org >>Subject: Re: [yocto] [yocto-docs][PATCH] kernel-dev: Updates "Generating >>Configuration Files" section >> >>On 3/10/14, 14:55, "Rifenbark, Scott M" >>wrote: >> >>>Yes - the manual for 1.6 is only for that release. I would have to >>>take separate steps to apply it to dora or Dylan branches. >> >>The point there being that someone reading the current manual and working >>on the 1.5 releases, would find these proposed changes will fail. The >>method >>being removed here would work on all versions since this document was >>created. >> >>-- >>Darren >> >>> >>>>-----Original Message----- >>>>From: Darren Hart [mailto:dvhart@linux.intel.com] >>>>Sent: Monday, March 10, 2014 4:52 PM >>>>To: Jo=E3o Henrique Ferreira de Freitas; yocto@yoctoproject.org >>>>Cc: Rifenbark, Scott M >>>>Subject: Re: [yocto] [yocto-docs][PATCH] kernel-dev: Updates >>>>"Generating Configuration Files" section >>>> >>>>On 3/5/14, 18:20, "Jo=E3o Henrique Ferreira de Freitas" >>>> >>>>wrote: >>>> >>>>>Add a new step about how to use diffconfig task to create kernel >>>>>config fragments. >>>>> >>>>>[YOCTO #3862] >>>>> >>>>>Signed-off-by: Jo=E3o Henrique Ferreira de Freitas >>>> >>>>Thank you for updating the documentation. Please Cc: the relevant >>>>parties with patches to the list (the author for one, and a git log >>>>would reveal Scott R. >>>>as the next obvious owner). >>>> >>>>Scott, This is good stuff to add. My only thought is this is new >>>>functionality, the old method is still valid - and necessary before >>>>1.6. >>>>What are your thoughts on dealing with this? Does the manual with 1.6 >>>>ONLY apply to 1.6? >>>> >>>>-- >>>>Darren >>>> >>>>>--- >>>>> documentation/kernel-dev/kernel-dev-common.xml | 25 >>>>>+++++++++---------------- >>>>> 1 file changed, 9 insertions(+), 16 deletions(-) >>>>> >>>>>diff --git a/documentation/kernel-dev/kernel-dev-common.xml >>>>>b/documentation/kernel-dev/kernel-dev-common.xml >>>>>index a152f9f..de04a39 100644 >>>>>--- a/documentation/kernel-dev/kernel-dev-common.xml >>>>>+++ b/documentation/kernel-dev/kernel-dev-common.xml >>>>>@@ -342,32 +342,25 @@ >>>>> >>>>> $ bitbake linux-yocto -c kernel_configme -f >>>>> >>>>>- Copy and rename the resulting >>>>>- .config file (e.g. >>>>>- config.orig). >>>>>- >>>>> Run the >>>>>menuconfig >>>>> command: >>>>> >>>>> $ bitbake linux-yocto -c menuconfig >>>>> >>>>>- Prepare a configuration fragment >>>>>based on >>>>>- the differences between the two files. >>>>>- >>>>>+ Run the >>>>>diffconfig >>>>>+ command to prepare a configuration fragment. >>>>>+ The result file >>>>>fragment.cfg will be placed in >>>>>+ ${>>>>url=3D'&YOCTO_DOCS_REF_URL;#var- >>>>WORKDIR'>WORKDIR>>>>ink >>>>>>} directory: >>>>>+ >>>>>+ $ bitbake linux-yocto -c diffconfig >>>>>+ >>>>> >>>>> >>>>> >>>>> >>>>>- Ultimately, the configuration fragment file needs to >>>>>be a >>>>>+ The diffconfig command creates >>>>>+ a >>>>>file that is a >>>>> list of Linux kernel CONFIG_ >>>>>assignments. >>>>>- It cannot be in diff format. >>>>>- Here is an example of a command that creates your >>>>>- configuration fragment file. >>>>>- Regardless of the exact command you use, plan on >>>>>reviewing >>>>>- the output as you can usually remove some of the >>>>>defaults: >>>>>- >>>>>- $ diff -Nurp config.orig .config | sed -n "s/^\+//p" > frag.cfg >>>>>- >>>>>+ >>>>> See the ">>>>linkend=3D'changing-the-configuration'>Changing the >>>>>Configuration" >>>>> section for information on how to use the output as a >>>>> configuration fragment. >>>>>-- >>>>>1.8.3.2 >>>>> >>>>>_______________________________________________ >>>>>yocto mailing list >>>>>yocto@yoctoproject.org >>>>>https://lists.yoctoproject.org/listinfo/yocto >>>>> >>>> >>>> >>>>-- >>>>Darren Hart >>>>Yocto Project - Linux Kernel >>>>Intel Open Source Technology Center >>>> >>>> >>>> >>> >>> >> >> >>-- >>Darren Hart >>Yocto Project - Linux Kernel >>Intel Open Source Technology Center >> >> >> > > --=20 Darren Hart Yocto Project - Linux Kernel Intel Open Source Technology Center