From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8C180E00572; Tue, 22 Jul 2014 18:48:26 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.219.43 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-oa0-f43.google.com (mail-oa0-f43.google.com [209.85.219.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 26659E00524 for ; Tue, 22 Jul 2014 18:48:20 -0700 (PDT) Received: by mail-oa0-f43.google.com with SMTP id i7so736707oag.16 for ; Tue, 22 Jul 2014 18:48:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=2/HbOUeWxG/W3BxXEwlKJT88KkYq9pgmlrWvdL0exO8=; b=jU/5fyeN8kCizdMm05Lr2vG2vgwbHTFeVku2nICaacMyZCV6eOJBrVRLEUhipl/X2n 7JCMAyu3jAKT7yhVqsvOnSF19ZKHzlAGRNaIsrtr+BrZ//Z5HuMkyPYdzwKFuNO8oZEh uelT2PW3IXuEySAngmbamXJkjtGuWbPuYvA/aGiAJ/VipW6YFXWMCcd+mZXa+SpM/JzS LXIL9JNVaqW0taWl1+9Y61cN3aE8nq0KNWV5rcXdKAqtvzlaCr2JM0aRb1bGse9qyvvi j2ugq1XkrYQw3zm6stLTt43XuTLr79CrhDi7mFVzKFHosJj1qyDFImSQJdgJeX474Ss/ ww4g== X-Gm-Message-State: ALoCoQljp43Z0ZBscdZfmQwJavqJCHFsJlg++1jZY8kbeAwVFJ1uhqt2i/COV0sxRIlY7DKffQDG X-Received: by 10.60.164.101 with SMTP id yp5mr55312490oeb.59.1406080099306; Tue, 22 Jul 2014 18:48:19 -0700 (PDT) Received: from [192.168.141.83] (69-165-220-158.dsl.teksavvy.com. [69.165.220.158]) by mx.google.com with ESMTPSA id wu2sm1920806obb.22.2014.07.22.18.48.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 18:48:18 -0700 (PDT) Message-ID: <53CF1461.7010707@linaro.org> Date: Tue, 22 Jul 2014 21:48:17 -0400 From: Trevor Woerner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: maciej.borzecki@open-rnd.pl References: <8AE475FC-772D-4B8F-B7E6-77CE9D82FE7B@gmail.com> <1496282345.2913448.1405854804281.open-xchange@poczta.nazwa.pl> <6F88B912-8456-4C09-9C96-B4D757CBF9C1@gmail.com> <20140721095130.GA27394@localhost.localdomain> <53CEB5A9.5030705@linaro.org> <1406061491.5135.2.camel@localhost.localdomain> In-Reply-To: <1406061491.5135.2.camel@localhost.localdomain> Cc: meta-freescale@yoctoproject.org Subject: Re: Improving SD-Card images X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 01:48:26 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/22/14 16:38, Maciek Borzecki wrote: > On wto, 2014-07-22 at 15:04 -0400, Trevor Woerner wrote: >> On 07/21/14 05:51, maciej.borzecki@open-rnd.pl wrote: >>> What's interesting is the --source definition. These correspond to >>> plugins located source tree (either poky/scripts/lib/mic/plugins/source/ >>> or ${layer}/scripts/lib/mic/plugins/source/) that define how the content >>> if the partition is generated. For now, there are only 3 plugins defined >>> in poky master: >>> - bootimg-efi - a GPT disk with efi boot partition >>> - bootimg-pcbios - MBR disk with syslinux in MBR >>> - rootfs >> Is it currently possible to specify what gets installed into a partition >> based on packages? For example, can you ask wic to create a partition >> then list the packages from which you want it to take its contents? > You mean similiar to what mic does for Tizen? Unfortunately I'm not familiar with either of those to know. You know how on the cmdline you can type something like: $ bitbake -e busybox | grep "^PACKAGES=" and get the list of packages created by the build system for busybox: PACKAGES=" busybox-httpd busybox-udhcpd busybox-udhcpc busybox-syslog busybox-mdev busybox-hwclock busybox-dbg busybox-staticdev busybox-dev busybox-doc busybox-locale busybox" I'm wondering if it's possible to create, say, a partition called /debug and ask wic to place busybox-dbg into it? Or maybe I have created my own recipe which is just some pre-populated database files which I want to place in their own 500MB partition called /home/db, is there a way to do that? Is there a way to create a /home/db partition of that size and populate it with the contents of the mydbimage bitbake package? (i.e. "package" as defined by OE/Yocto/bitbake, not package as in IPK or RPM or DEB).