diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-18 21:59:33 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-20 00:43:08 +0300 |
commit | 6b4da627da5b6e729fca95cfc96bd81b2770dabe (patch) | |
tree | 470f4bc23267d5568f6f0599732b8162a6eeda2c /meta-phosphor/common/recipes-extended | |
parent | 045ce8e078e638d05373391d6a259c20588a7762 (diff) | |
download | openbmc-6b4da627da5b6e729fca95cfc96bd81b2770dabe.tar.xz |
sdbusplus: Avoid race conditions in native context
Help sdbusplus-native clients out by ensuring runtime
dependencies are installed.
Change-Id: I7b675a5eec0e9f4bda7f4bd1fcf3de9d97c0e3a7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-extended')
-rw-r--r-- | meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb b/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb index ac513842e..dd2ca6c95 100644 --- a/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb +++ b/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb @@ -15,6 +15,21 @@ RDEPENDS_sdbus++ += " \ python-pyyaml \ " +# sdbus++ has a handful of runtime dependencies on other python packages. +# Bitbake doesn't do anything with RDEPENDS in native context because +# native context doesn't have packages. +# +# While technically sdbus++ doesn't require its runtime dependencies to be +# installed to build, work around the above native context behavior +# by adding a build dependency so that clients don't have to DEPEND +# on sdbus++ runtime dependencies manually. + +DEPENDS_append_class-native = " \ + python-inflection-native \ + python-mako-native \ + python-pyyaml-native \ + " + SRC_URI += "git://github.com/openbmc/sdbusplus" SRCREV = "b6dcf97fdf0d9c673812942f5b4e8b2691ceb5a3" |