summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-02-24 22:04:06 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-02-24 22:07:48 +0300
commit43b61b7029b4e566766ee8c36b59efe826326d74 (patch)
treeceeb616ac7a0e9378caeec41bfcf4b1f145179cb /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
parentfeb59cb0723d9b3b0afb27e05869fa6d2a42bc6c (diff)
downloadopenbmc-43b61b7029b4e566766ee8c36b59efe826326d74.tar.xz
ipmi-whitelist: fix compile issue
ipmi-whitelists were not working correctly when restored from sstate due to incorrect path locations in the bbclass. Files being installed with the do_install step were not associated with the package because they were placed in the wrong directory. By placing in the right directory, they are placed into the sstate file and restored correctly. The files were also installed into /etc and move to /usr/share. This matches what is being done for the mrw files (see phosphor-ipmi-fru.bbclass for example). Change-Id: I1881d383d4d9d7d3098411fa83c85e49c3a08560 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
index 641aa4d6af..2b400651d7 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
@@ -27,7 +27,7 @@ SRCREV = "51cb8eef48ffc2bbe165cb276a38c391b4185704"
# Setup IPMI Whitelist Conf files
WHITELIST_CONF = " \
- ${STAGING_ETCDIR_NATIVE}/phosphor-ipmi-host/*.conf \
+ ${STAGING_DATADIR_NATIVE}/phosphor-ipmi-host/*.conf \
${S}/host-ipmid-whitelist.conf \
"
EXTRA_OECONF = " \