All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: yocto@yoctoproject.org
Subject: Re: Creating tailored image without standard rootfs files
Date: Thu, 21 Mar 2013 19:44:40 +0000	[thread overview]
Message-ID: <514B6328.8000808@r-finger.com> (raw)
In-Reply-To: <65D9329CA2AF94438F542D48F2A42E8317717841FB@GOT-SRV-005.QMATIC.local>

On 21/03/13 15:09, Peter Bergin wrote:
> for my Yocto build I want to create two separate images as output
> because in my system I have two separate partitions. One partition
> containing the root file system and one partition containing
> configuration and application data. What I want is to create an image
> only containing data and applications from my recipes that I can apply
> to my data partition.

You can post-process the rootfs before generating the image to rm the
dirs you do not want, by appending a suitable function to the
ROOTFS_POSTPROCESS_COMMAND variable.

Also, there are existing systems out here that need multiple partitions,
e.g., the SD image  for RPi (see meta-raspberrypi) contains two separate
partitions, see the sdimage bbclass for what it does.

Tomas

-- 
http://sleepfive.com


      parent reply	other threads:[~2013-03-21 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 15:09 Creating tailored image without standard rootfs files Peter Bergin
2013-03-21 19:08 ` Anders Darander
2013-03-21 19:44 ` Tomas Frydrych [this message]

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=514B6328.8000808@r-finger.com \
    --to=tf+lists.yocto@r-finger.com \
    --cc=yocto@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.