All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <trevor.woerner@linaro.org>
To: maciej.borzecki@open-rnd.pl
Cc: meta-freescale@yoctoproject.org
Subject: Re: Improving SD-Card images
Date: Tue, 22 Jul 2014 21:48:17 -0400	[thread overview]
Message-ID: <53CF1461.7010707@linaro.org> (raw)
In-Reply-To: <1406061491.5135.2.camel@localhost.localdomain>


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).


  reply	other threads:[~2014-07-23  1:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-19 14:50 Improving SD-Card images Jens Rehsack
2014-07-20 11:13 ` maciej.borzecki
2014-07-20 22:47   ` Jens Rehsack
2014-07-21  9:51     ` maciej.borzecki
2014-07-22 19:04       ` Trevor Woerner
2014-07-22 20:38         ` Maciek Borzecki
2014-07-23  1:48           ` Trevor Woerner [this message]
2014-07-21 14:50   ` Otavio Salvador
2014-07-22  5:16     ` Jens Rehsack
2014-07-22  6:37       ` Maciek Borzecki
2014-07-22  7:09         ` Jens Rehsack
2014-07-22  7:37           ` Maciek Borzecki
2014-07-22 11:04             ` Jens Rehsack
2014-07-22 12:04               ` Maciek Borzecki
2014-08-11 19:55     ` Maciek Borzecki
2014-08-11 20:00       ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53CF1461.7010707@linaro.org \
    --to=trevor.woerner@linaro.org \
    --cc=maciej.borzecki@open-rnd.pl \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.