[oe-commits] Richard Purdie : perl-rprovides: Fix perl-module-config anf perl-module-build providers

git at git.openembedded.org git at git.openembedded.org
Mon Jan 21 19:05:55 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 9668c14ff5d8b9193e08743ac75217cbbfd061a8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9668c14ff5d8b9193e08743ac75217cbbfd061a8

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Jan 19 23:50:10 2013 +0000

perl-rprovides: Fix perl-module-config anf perl-module-build providers

The rearrangement of various file contents left these empty modules which
don't get packaged and hence lead to image creation errors on anything using
them. This patch ensures the dependencies are attached to the packages
which contain the config files or the build module infrastructure as
appropriate. It also resolves some confusion over whether the name is
perl-module-build or perl-module-module-build, the latter being the
autogenerated dependency which previously couldn't be found.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/perl/perl-rprovides.inc |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-rprovides.inc b/meta/recipes-devtools/perl/perl-rprovides.inc
index 637c993..3cfcb7d 100644
--- a/meta/recipes-devtools/perl/perl-rprovides.inc
+++ b/meta/recipes-devtools/perl/perl-rprovides.inc
@@ -5,6 +5,7 @@
 RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata"
 RPROVIDES_perl-module-b-assembler = "perl-module-${TARGET_SYS}-b-assembler"
 RPROVIDES_perl-module-b-bblock = "perl-module-${TARGET_SYS}-b-bblock"
+RPROVIDES_perl-module-build += "perl-module-module-build"
 RPROVIDES_perl-module-b-bytecode = "perl-module-${TARGET_SYS}-b-bytecode"
 RPROVIDES_perl-module-b-cc = "perl-module-${TARGET_SYS}-b-cc"
 RPROVIDES_perl-module-b-concise = "perl-module-${TARGET_SYS}-b-concise"
@@ -17,8 +18,11 @@ RPROVIDES_perl-module-b-stackobj = "perl-module-${TARGET_SYS}-b-stackobj"
 RPROVIDES_perl-module-b-stash = "perl-module-${TARGET_SYS}-b-stash"
 RPROVIDES_perl-module-b-terse = "perl-module-${TARGET_SYS}-b-terse"
 RPROVIDES_perl-module-b-xref = "perl-module-${TARGET_SYS}-b-xref"
-RPROVIDES_perl-module-config = "perl-module-${TARGET_SYS}-config"
-RPROVIDES_perl-module-config-heavy = "perl-module-${TARGET_SYS}-config-heavy"
+RPROVIDES_perl-lib += " \
+    perl-module-config \
+    perl-module-config-heavy \
+    perl-module-${TARGET_SYS}-config \
+    perl-module-${TARGET_SYS}-config-heavy"
 RPROVIDES_perl-module-encode-alias = "perl-module-${TARGET_SYS}-encode-alias"
 RPROVIDES_perl-module-encode-cjkconstants = "perl-module-${TARGET_SYS}-encode-cjkconstants"
 RPROVIDES_perl-module-encode-config = "perl-module-${TARGET_SYS}-encode-config"





More information about the Openembedded-commits mailing list