All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Larsen <lars@visionweeding.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: How do I "remove" my application from ROOTFS and add it to INITRD ?
Date: Mon, 31 Oct 2016 12:09:26 +0100	[thread overview]
Message-ID: <58172666.1040209@visionweeding.com> (raw)


I have a recipie that builds and work fine.

It producue a rootfs.img and an initrd, all nicely wrapped in bootable 
ISO and hdd images


It all ends in rootfs.img , but I would like it to end in initrd.
(this would makes my update procedure towards costumers simpler, since 
we only have handle distribution of the initrd file)

My main recipe uses IMAGE__INSTALL to add my application - that contains 
a bunch of recipes for compiled modules, and a directory structure with 
a number of scripts.

So after analyzing bootimg.bbclass I can see, that I need to add a 
cpio.gz image of my application to get the INITRD variable, and remove 
it from ROOTFS

But how do I achieve this, in a compatible manor ?

-Lars

-- 

Best Regards
Lars Larsen

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
www.visionweeding.com



                 reply	other threads:[~2016-10-31 11:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=58172666.1040209@visionweeding.com \
    --to=lars@visionweeding.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.