[OE-core] [PATCH] perl-rprovides: Fix perl-module-config anf perl-module-build providers

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jan 19 23:50:10 UTC 2013


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>
---
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-core mailing list