From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ew0-f47.google.com ([209.85.215.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QyB1N-0005N0-N0 for openembedded-core@lists.openembedded.org; Tue, 30 Aug 2011 01:13:37 +0200 Received: by ewy5 with SMTP id 5so2620036ewy.6 for ; Mon, 29 Aug 2011 16:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=szGNN8io9b70mT5s4raCVZvJNe+hf8j2UdqtQ3Kn7Q8=; b=PJGAc8iU23hfAFTUcLiPdjy2sfBkdv6mPvqCWajwTlDATcG1ZMsMY9GsxGpw19rDLe hhRcqnROMkNdv+KoOwLEL6dZdN8aqUm/QUKLZCPSAaUrG6JQn1VD1x/HJzQQbsk5xdA1 q2boQHzOBahYVNJS06fVpB8n3t86Kb5yP6EEI= MIME-Version: 1.0 Received: by 10.213.101.20 with SMTP id a20mr20202ebo.118.1314659325113; Mon, 29 Aug 2011 16:08:45 -0700 (PDT) Received: by 10.213.10.201 with HTTP; Mon, 29 Aug 2011 16:08:45 -0700 (PDT) In-Reply-To: References: <1314598341-2793-1-git-send-email-joelagnel@ti.com> Date: Mon, 29 Aug 2011 18:08:45 -0500 Message-ID: From: Joel A Fernandes To: Patches and discussions about the oe-core layer Cc: "Kridner, Jason" Subject: Re: [RFC oe-core] mkcard: Add a script to parition and format an SD Card X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2011 23:13:37 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Aug 29, 2011 at 4:03 PM, Jason Kridner w= rote: >>>> >>>> This script is BSP specific and shouldn't live in the OE-core layer. >>> >>> The only issue is this script is used from within the IMAGE_CMD_sdimg >>> code which lives in OE-core (meta/classes/image_types. >> >> classes shouldn't be calling external scripts >> > > Is the right approach to add parameters to the IMAGE_CMD_sdimg class > such that it can be used generically to produce SD card images, > instead of trying to move this to meta-ti? =A0Should it perhaps be a bit > closer to what is being done by the Linaro image tools [1]? > > [1] https://wiki.linaro.org/Source/ImageBuilding > Don't the Linaro scripts need to run on the target? Does it fit well with OE(-core) ? I took lot of pain to write it for OE and its almost done, so suggest we use my method atleast for a few days ;-) Thanks Joel