Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] augeas: allow empty augeas-lenses package
@ 2013-04-17  8:42 b28495
  2013-04-17 10:40 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: b28495 @ 2013-04-17  8:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: r63875

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"
-- 
1.7.5.4





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-17 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17  8:42 [PATCH] augeas: allow empty augeas-lenses package b28495
2013-04-17 10:40 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox