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

login
register
mail settings
Submitter Richard Purdie
Date Jan. 19, 2013, 11:50 p.m.
Message ID <1358639410.14265.8.camel@ted>
Download mbox | patch
Permalink /patch/42961/
State Accepted
Commit 442f161ecd498513b72e7f1ca2668325c9389d24
Headers show

Comments

Richard Purdie - Jan. 19, 2013, 11:50 p.m.
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@linuxfoundation.org>
---

Patch

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"