From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: b28495@freescale.com
Cc: r63875@freescale.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] augeas: allow empty augeas-lenses package
Date: Wed, 17 Apr 2013 11:40:48 +0100 [thread overview]
Message-ID: <1366195248.25282.30.camel@ted> (raw)
In-Reply-To: <1366188175-29768-1-git-send-email-b28495@freescale.com>
On Wed, 2013-04-17 at 16:42 +0800, b28495@freescale.com wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Fix the error when do_rootfs:
> | Loading cache...
> | Updating cache... ######################################## [100%]
> |
> | Computing transaction...error: Can't install libaugeas0-1.0.0-r1@ppce500v2: no package provides augeas-lenses
> |
> | Saving cache...
> |
> | ERROR: Function failed: do_rootfs
>
> augeas-lenses rpm is not generated due to no content:
> $ ls tmp/deploy/rpm/ppce500v2/augeas-
> augeas-1.0.0-r1.ppce500v2.rpm augeas-dev-1.0.0-r1.ppce500v2.rpm
> augeas-dbg-1.0.0-r1.ppce500v2.rpm augeas-doc-1.0.0-r1.ppce500v2.rpm
> $ ls tmp/work/ppce500v2-fsl_networking-linux-gnuspe/augeas/1.0.0-r1/packages-split/augeas-lenses/
> $
>
> Change-Id: I63b871fdbbd45f1c0b1b5605b342e62e1526c37b
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
> meta/recipes-extended/augeas/augeas.inc | 3 +++
> meta/recipes-extended/augeas/augeas_1.0.0.bb | 2 +-
> 2 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/augeas/augeas.inc b/meta/recipes-extended/augeas/augeas.inc
> index c956621..49da973 100644
> --- a/meta/recipes-extended/augeas/augeas.inc
> +++ b/meta/recipes-extended/augeas/augeas.inc
> @@ -29,3 +29,6 @@ LEAD_SONAME = "libaugeas.so"
> do_install_append() {
> rm -fr ${D}${datadir}/vim
> }
> +
> +ALLOW_EMPTY_${PN}-lenses = "1"
> +
> diff --git a/meta/recipes-extended/augeas/augeas_1.0.0.bb b/meta/recipes-extended/augeas/augeas_1.0.0.bb
> index 82bda19..d898eea 100644
> --- a/meta/recipes-extended/augeas/augeas_1.0.0.bb
> +++ b/meta/recipes-extended/augeas/augeas_1.0.0.bb
> @@ -1,6 +1,6 @@
> require augeas.inc
>
> -PR = "r1"
> +PR = "r2"
>
> SRC_URI[md5sum] = "82131019432ecf8102e1491610ad2dd1"
> SRC_URI[sha256sum] = "31bf757c5b8197765946b3805f3793c32b03cd92a7a77ec95d37e71a1f131912"
Thanks for the warning about this but this isn't the right way to fix
it. The question is what happened to the files that should be there?
I've just sent out a patch which fixes this properly.
Cheers,
Richard
prev parent reply other threads:[~2013-04-17 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 8:42 [PATCH] augeas: allow empty augeas-lenses package b28495
2013-04-17 10:40 ` Richard Purdie [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=1366195248.25282.30.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=b28495@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=r63875@freescale.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox