Fix phosphor-ipmi-host to permit "devtool modify" to succeed
The change that removed entity.yaml from the autogeneration method
also broke using devtool modify. Devtool fails to copy entity.yaml to
its destination directory because it can't be found in the Yocto
source directories.
(From meta-phosphor rev: 514e404cbfb9c0a8260d4dd157fecd0f2cefc438)
Change-Id: Ida9ba7af1e89f77d9e8171de214d7951612f01f4
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
index f5606cb..1df091f 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
@@ -106,7 +106,7 @@
do_replace_entity_default() {
# The in-repo provided default is tailored to testing the ipmid code.
# Replace it with a reasonable default for users.
- cp entity.yaml ${S}/scripts/entity-example.yaml
+ cp ${THISDIR}/${PN}/entity.yaml ${S}/scripts/entity-example.yaml
}
do_patch_append() {