All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Herv? Fache <h-fache@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: No /sbin/init when deriving m7y own image
Date: Fri, 12 Oct 2012 12:19:44 -0400	[thread overview]
Message-ID: <20121012161944.GH26956@edge> (raw)
In-Reply-To: <50783E2F.4060204@ti.com>

On Fri, Oct 12, 2012 at 05:58:39PM +0200, Herv? Fache wrote:
> On 10/12/2012 05:31 PM, Denys Dmytriyenko wrote:
> > On Fri, Oct 12, 2012 at 05:27:43PM +0200, Herv? Fache wrote:
> >> Hi guys,
> >>
> >> I am new to Poky and have created the following recipe:
> >>     require recipes-graphics/images/core-image-x11.bb
> >>     IMAGE_INSTALL += "omapdrmtest"
> > Can you try adding to CORE_IMAGE_EXTRA_INSTALL instead of IMAGE_INSTALL?
> >
> Thanks a lot, that did it!

I'm glad it worked for you.

But I'm still baffled why IMAGE_INSTALL didn't work. The only 2 reasons I can 
see for that are:

1. If you made a typo and used '=' instead of '+=', which would re-assign 
IMAGE_INSTALL, instead of appending to it, losing its current value.

2. Or if you tried to append to IMAGE_INSTALL before loading the base image 
recipe with 'require' (effectively, swapping the 2 lines of your recipe) - in 
that case you'd append to an empty IMAGE_INSTALL first and inside the 
core-image class it uses conditional assignment to pre-set that variable with 
system defaults. But since you already assigned to it early on, it won't be 
populated with system defaults...

Other than that, the example you showed above seems to work for me here...

-- 
Denys


  reply	other threads:[~2012-10-12 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12 15:27 No /sbin/init when deriving m7y own image Hervé Fache
2012-10-12 15:31 ` Denys Dmytriyenko
2012-10-12 15:58   ` Hervé Fache
2012-10-12 16:19     ` Denys Dmytriyenko [this message]
2012-10-12 16:31       ` Gary Thomas
2012-10-12 16:37         ` Denys Dmytriyenko
2012-10-15  7:24       ` Hervé Fache

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=20121012161944.GH26956@edge \
    --to=denys@ti.com \
    --cc=h-fache@ti.com \
    --cc=meta-ti@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.