meta-quanta: gsj: remove gbmc-psu-hardreset.target from google-ipmi-sys
Remove gbmc-psu-hardreset.target from google-ipmi-sys to get
DelayHardReset to return the expected unspecified error.
(From meta-quanta rev: c95abb8caea6e56de78f009338ed656518928566)
Signed-off-by: P.K. Lee <p.k.lee@quantatw.com>
Change-Id: I910d976c0b37b88523e3351ad83ce60124cd28df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-quanta/meta-gsj/conf/bblayers.conf.sample b/meta-quanta/meta-gsj/conf/bblayers.conf.sample
index f28a8ba..be7a738 100644
--- a/meta-quanta/meta-gsj/conf/bblayers.conf.sample
+++ b/meta-quanta/meta-gsj/conf/bblayers.conf.sample
@@ -12,6 +12,7 @@
##OEROOT##/meta-openembedded/meta-python \
##OEROOT##/meta-phosphor \
##OEROOT##/meta-nuvoton \
+ ##OEROOT##/meta-google \
##OEROOT##/meta-quanta \
##OEROOT##/meta-quanta/meta-gsj \
"
@@ -22,6 +23,7 @@
##OEROOT##/meta-openembedded/meta-python \
##OEROOT##/meta-phosphor \
##OEROOT##/meta-nuvoton \
+ ##OEROOT##/meta-google \
##OEROOT##/meta-quanta \
##OEROOT##/meta-quanta/meta-gsj \
"
diff --git a/meta-quanta/meta-gsj/recipes-google/ipmi/google-ipmi-sys_%.bbappend b/meta-quanta/meta-gsj/recipes-google/ipmi/google-ipmi-sys_%.bbappend
new file mode 100644
index 0000000..11e4b71
--- /dev/null
+++ b/meta-quanta/meta-gsj/recipes-google/ipmi/google-ipmi-sys_%.bbappend
@@ -0,0 +1,6 @@
+NETIPMI_PROVIDER_LIBRARY_gsj += "libsyscmds.so"
+SYSTEMD_SERVICE_${PN}_remove_gsj = "gbmc-psu-hardreset.target"
+
+do_install_append_gsj() {
+ rm -rf ${D}/lib
+}
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-quanta/meta-gsj/recipes-phosphor/images/obmc-phosphor-image.bbappend
index 60de2fc..9950401 100644
--- a/meta-quanta/meta-gsj/recipes-phosphor/images/obmc-phosphor-image.bbappend
+++ b/meta-quanta/meta-gsj/recipes-phosphor/images/obmc-phosphor-image.bbappend
@@ -1,3 +1,4 @@
OBMC_IMAGE_EXTRA_INSTALL_append_gsj = " phosphor-ipmi-flash"
OBMC_IMAGE_EXTRA_INSTALL_append_gsj = " phosphor-pid-control"
OBMC_IMAGE_EXTRA_INSTALL_append_gsj = " detect-fan-fail"
+OBMC_IMAGE_EXTRA_INSTALL_append_gsj = " google-ipmi-sys"