All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: .bbappend and require
Date: Mon, 08 Dec 2014 12:27:48 -0700	[thread overview]
Message-ID: <5485FBB4.4020501@mlbassoc.com> (raw)

I have a base image in my distribution (e.g. xyz-image-base.bb).
Many of my layers will build on this using 'require', e.g.
   require recipes-base/images/xyz-image-base.bb

Sometimes a given layer may create many such image recipes, each
using 'require' to fill in the base.  It would be nice to be able
to adjust the base recipe using a .bbappend in the layer so that
all images built by that layer use the same changes.  I've found
that this doesn't work as .bbappend files do not seem to be used
by 'require'.

It's easy to see this bug in action - just create a file
'core-image-minimal.bbappend' which contains:
   CORE_IMAGE_EXTRA_INSTALL += " non-existent-package"
With this, you *can* build core-image-minimal-dev (which uses
'require' to build on core-image-minimal) but not core-image-minimal.

Is there some [good] reason for this behaviour or a bug?
Could it be made to work the way I had hoped/expected?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2014-12-08 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-08 19:27 Gary Thomas [this message]
2014-12-08 20:05 ` .bbappend and require Nicolas Dechesne

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=5485FBB4.4020501@mlbassoc.com \
    --to=gary@mlbassoc.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.