All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] xpext: Allow the main package to be empty.
Date: Tue, 6 Sep 2016 23:06:36 +0200	[thread overview]
Message-ID: <20160906210636.GC2645@jama> (raw)
In-Reply-To: <20160906184155.23608-1-drew_moseley@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

On Tue, Sep 06, 2016 at 02:41:55PM -0400, Drew Moseley wrote:
> If xpext is included in a build (ie via dependency on mpv) then
> builds of core-image-sato-sdk will fail with errors such as below.
> 
> Allowing the package to be empty fixes this.
> 
>      warning: Can't install mpv-dev-0.15.0-r0@i586: Can't install xpext-dev-1.0+5-r0@i586: no package provides xpext = 1.0+5-r0

Isn't it better to disable this dependency from xpext-dev than to
install completely useless empty image into the image?

> Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
> ---
>  meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
> index d65546d..84ec5be 100644
> --- a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
> +++ b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
> @@ -15,3 +15,5 @@ REQUIRED_DISTRO_FEATURES = "x11"
>  
>  SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"
>  SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"
> +
> +ALLOW_EMPTY_${PN} = "1"
> -- 
> 2.9.3
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

  reply	other threads:[~2016-09-06 21:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 18:41 [meta-oe][PATCH] xpext: Allow the main package to be empty Drew Moseley
2016-09-06 21:06 ` Martin Jansa [this message]
2016-09-06 21:39   ` Moseley, Drew

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=20160906210636.GC2645@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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.