From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Brian Karcz <briank@russound.com>
Cc: yocto@yoctoproject.org
Subject: Re: Image recipes in Yocto 1.4 (dylan-9.0.0)
Date: Mon, 24 Jun 2013 16:40:54 +0100 [thread overview]
Message-ID: <1409977.06We3GSB1m@helios> (raw)
In-Reply-To: <7941E07E1E020448937ACA7D4279E632018398AF5AA8@powerhog>
Hi Brian,
On Monday 24 June 2013 11:01:31 Brian Karcz wrote:
> I have a question regarding the shared state code optimizations in yocto
> 1.4. I'm in the process of upgrading one of our projects from Edison (6.0)
> to Dylan (9.0.0) and am running into an issue with our existing image
> recipe.
>
> The recipe brings in files from a "files" directory in the image area. It
> also adds an image preprocess command that takes action on those files in
> the work area. After reading the version 1.4 migration guidelines and
> examining both the old and new builds, it looks like the do_unpack task has
> been optimized out of the way images are built in the new release. The
> files listed in the SRC_URI variable don't get populated in the work
> directory, and actions taken in the image preprocess command fail.
>
> Is there a way to stop this optimization and have the image build populate
> the work directory as it has in the past?
You should be able to do this in your image recipe:
python () {
d.delVarFlag("do_fetch", "noexec")
d.delVarFlag("do_unpack", "noexec")
}
This isn't related to shared state, btw, just that image.bbclass disables
these tasks by default as of version 1.2 (denzil).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-06-24 15:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-24 15:01 Image recipes in Yocto 1.4 (dylan-9.0.0) Brian Karcz
2013-06-24 15:40 ` Paul Eggleton [this message]
[not found] ` <7941E07E1E020448937ACA7D4279E632018398AF5AC0@powerhog>
2013-07-16 17:29 ` Paul Eggleton
2013-07-31 20:27 ` Brian Karcz
2013-08-01 8:25 ` Paul Eggleton
2013-08-01 14:00 ` Brian Karcz
2013-08-01 14:27 ` Paul Eggleton
2013-08-01 16:09 ` Brian Karcz
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=1409977.06We3GSB1m@helios \
--to=paul.eggleton@linux.intel.com \
--cc=briank@russound.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.