From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp484.redcondor.net (smtp484.redcondor.net [208.80.204.84]) by mail.openembedded.org (Postfix) with ESMTP id 0B58265D5E for ; Sun, 27 Jul 2014 12:10:28 +0000 (UTC) Received: from astoria.ccjclearline.com ([64.235.106.9]) by smtp484.redcondor.net ({c48374e7-08df-40d9-a0de-96cc9883a037}) via TCP (outbound) with ESMTPS id 20140727121029149 for ; Sun, 27 Jul 2014 12:10:29 +0000 X-RC-FROM: X-RC-RCPT: Received: from [99.240.204.5] (port=57479 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1XBNHT-0000Uo-By for openembedded-devel@lists.openembedded.org; Sun, 27 Jul 2014 08:10:23 -0400 Date: Sun, 27 Jul 2014 08:10:22 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost To: Openembedded Discussion In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: X-MAG-OUTBOUND: ccj.redcondor.net@64.235.106.9/32 Subject: Re: i'm assuming some "do_[dirs] =" directives are redundant, yes? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 12:10:36 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 26 Jul 2014, Christopher Larson wrote: > On Sat, Jul 26, 2014 at 5:43 AM, Robert P. J. Day > wrote: > > > On Mon, 21 Jul 2014, Christopher Larson wrote: > > > > > On Mon, Jul 21, 2014 at 2:59 AM, Robert P. J. Day > > > > > wrote: > > > > > > > > > > > pedantic observation -- i notice in base.bbclass: > > > > > > > > do_unpack[dirs] = "${WORKDIR}" > > > > > > > > and over in patch.bbclass: > > > > > > > > addtask patch after do_unpack > > > > do_patch[dirs] = "${WORKDIR}" > > > > > > > > so given that patching has been added as a task after unpacking, > > > > wouldn't ${WORKDIR} already be guaranteed to exist? doesn't hurt, of > > > > course, and no, i have no intention of trying to clean any of that up > > > > :-), i just wanted to clarify the actual mechanics. > > > > > > > > > 'dirs' isn't just a list of dirs to create, it also sets the current > > > working directory for the task. The last directory listed is where > > > the path is set. > > > > is that documented anywhere? the "variable flags" section of the > > bitbake user manual says nothing about that last obviously significant > > property. > > Good question, I have no idea :) Clearly it should be somewhere. actually, while i'm there: http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#variable-flags anything else i should add just to make it a single patch? (yes, i realize this should have gone to the bitbake list at this point but let's just finish it off here and be done with it.) it occurs that one could mention variable flags like [doc] in that section since, technically, that section is entitled "Variable Flags", not just "Task Flags", even though it is clearly discussing only task flags, which seems a touch incomplete. and just so i'm clear on this, one does not need to pre-declare variable flags anywhere, right? one can just start using them, yes? that's probably worth mentioning as well as, on a regular basis, my students ask, "where do i declare that thing that looks like a subscript?" anyway, any suggestions as to what else can go in there while i ponder what to add/change? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================