All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: "Maier, Chris" <C.Maier@geze.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Install rootfs.tar.bz2 to ${D}/home/root/
Date: Wed, 5 Apr 2017 13:51:20 +0200	[thread overview]
Message-ID: <91e0f880-ef37-c492-d1f1-227535238121@topic.nl> (raw)
In-Reply-To: <2AA7D088591C49498E92D6491C58159334CCE0DB@gcxdb1.corp.geze.com>

On 05-04-17 13:21, Maier, Chris wrote:
> Hi,
>
>
>
> I want to create a deployable SD card image. My board (beaglebone based) boots
> from SD card and runs a script which copies the rootfs.tar.bz2 to the flash
> memory.
>
> So how can I deploy a copy of the whole rootfs to ${D}/home/root?
>
> A rootfs in the rootfs, does that make sense?

I do it like this:

http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135187.html


The idea is that you make a regular package that contains the tar.bz2 of the 
image you want in flash and put that into the image for the SD card.

You cannot have the same image, since that would recursively include itself, 
but you could make big-image.bb like this:

require small-image.bb
IMAGE_INSTALL += "big-project"




Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail







  reply	other threads:[~2017-04-05 12:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 11:21 Install rootfs.tar.bz2 to ${D}/home/root/ Maier, Chris
2017-04-05 11:51 ` Mike Looijmans [this message]
2017-04-05 12:16 ` Fabien Lahoudere
2017-04-06  6:41 Maier, Chris
2017-04-06  6:50 ` Josef Holzmayr
2017-04-06  7:36   ` Enrico Joerns
2017-04-06  8:31 Maier, Chris
2017-04-06  8:37 ` Josef Holzmayr
2017-04-06 13:17   ` Enrico Joerns
2017-04-10 11:28 Maier, Chris
2017-04-10 19:53 ` Khem Raj
2017-04-11  6:40   ` Enrico Joerns
2017-04-11  2:30 ` Andre McCurdy
2017-04-11  6:48 Maier, Chris
2017-04-11 12:55 ` Josef Holzmayr

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=91e0f880-ef37-c492-d1f1-227535238121@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=C.Maier@geze.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.