meta-google: recipes-phosphor: host: Import from gBMC
Initial recipes-phosphor/host code from gBMC.
Google-Bug-Id: 179618560
Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I9a9baa0528ce4dfc33437a1e9ae908ce22dc6d16
diff --git a/meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend b/meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend
new file mode 100644
index 0000000..01669cc
--- /dev/null
+++ b/meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend
@@ -0,0 +1,7 @@
+# It's useful for debugging to have post codes written to the journal
+# while the machine is booting. Especially when host serial logs also get
+# written. This enables the verbose output of the daemon, providing
+# the logging behavior.
+do_install_append_gbmc_dev() {
+ sed -i '/^ExecStart=/ s,$, -v,' ${D}${systemd_system_unitdir}/lpcsnoop.service
+}