From: "Bollinger, Seth" <Seth.Bollinger@digi.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: File system for alternate partition
Date: Wed, 9 Jul 2014 13:57:57 +0000 [thread overview]
Message-ID: <CFE2B38E.98BA%seth.bollinger@digi.com> (raw)
In-Reply-To: <4926257.DJ1LoBhQc2@peggleto-mobl5.ger.corp.intel.com>
>I'm not sure without digging into it further (which I'm unable to do at
>the
>moment, perhaps someone else can.)
Just as an FYI for anyone who might find this thread interesting, I fixed
the problem by adding another hook into poky/lib/oe/image.py before the
IMAGE_CMD hook.
It defaults to doing nothing, but can be overridden by image recipes to
remove directories that have no value for the particular image.
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index c9b9033..c74821f 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -274,6 +274,7 @@ class Image(ImageDepGraph):
bb.data.update_data(localdata)
localdata.setVar('type', type)
+ cmds.append("\t" + (localdata.getVar("IMAGE_CLEAN_FS",
True) or ""))
cmds.append("\t" + localdata.getVar("IMAGE_CMD", True))
cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}"))
Seth
prev parent reply other threads:[~2014-07-09 13:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-23 11:59 File system for alternate partition Bollinger, Seth
2014-06-23 12:38 ` Søren Holm
2014-06-23 15:28 ` Bollinger, Seth
2014-06-24 17:09 ` Bollinger, Seth
2014-06-25 10:39 ` Paul Eggleton
2014-06-25 12:58 ` Bollinger, Seth
2014-06-25 13:33 ` Bollinger, Seth
2014-06-25 14:12 ` Paul Eggleton
2014-06-25 15:22 ` Bollinger, Seth
2014-06-25 15:35 ` Paul Eggleton
2014-07-09 13:57 ` Bollinger, Seth [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=CFE2B38E.98BA%seth.bollinger@digi.com \
--to=seth.bollinger@digi.com \
--cc=paul.eggleton@linux.intel.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.