summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/classes')
-rw-r--r--meta-phosphor/classes/phosphor-ipmi-host-whitelist.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/classes/phosphor-ipmi-host-whitelist.bbclass b/meta-phosphor/classes/phosphor-ipmi-host-whitelist.bbclass
index a13b0b157..f2b041fe9 100644
--- a/meta-phosphor/classes/phosphor-ipmi-host-whitelist.bbclass
+++ b/meta-phosphor/classes/phosphor-ipmi-host-whitelist.bbclass
@@ -2,7 +2,7 @@
# packages
WHITELIST ?= "${PN}.conf"
-INSTALLDIR = "${sysconfdir}/phosphor-ipmi-host/"
+INSTALLDIR = "${D}${datadir}/phosphor-ipmi-host/"
python phosphor_ipmi_host_whitelist_postinstall() {
def install_whitelist(d):
@@ -24,4 +24,4 @@ python phosphor_ipmi_host_whitelist_postinstall() {
install_whitelist(d)
}
-do_populate_sysroot[postfuncs] += "phosphor_ipmi_host_whitelist_postinstall"
+do_install[postfuncs] += "phosphor_ipmi_host_whitelist_postinstall"
OpenPOWER on IntegriCloud