Prep work for presistent event logs
Making a very simple commit that contains the additional required
c++ flags along with making the directory to store the new event
manager log files. This does not enable anything, it is a
precursor got the big drop. I'd like to get some of the more
simple things in to the build first since a 2 line change is
faster to review.
diff --git a/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb b/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
index 6cdf398..3b8ce0e 100644
--- a/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
+++ b/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
@@ -9,6 +9,7 @@
inherit obmc-phosphor-sdbus-service
inherit obmc-phosphor-c-daemon
+TARGET_CPPFLAGS += "-std=c++11 -fpic"
SRC_URI += "git://github.com/openbmc/phosphor-event"
@@ -22,6 +23,7 @@
INSTALL_NAME = "event_messaged"
do_install() {
+ install -d ${D}/var/lib/obmc/events/
install -m 0755 -d ${D}${sbindir}
install -m 0755 ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-eventd
}