Autogenerate integration files via automake

-Creates systemd unit file;
-Creates phosphor-debug-collector (dreport) plugin.

Change-Id: I5d4d2c7452c5b9c042c27170c67e282f34882d11
Signed-off-by: Artem Senichev <artemsen@gmail.com>
diff --git a/hostlogger.dreport.in b/hostlogger.dreport.in
new file mode 100644
index 0000000..bbbf168
--- /dev/null
+++ b/hostlogger.dreport.in
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# config: 123 20
+# @brief: Collect host's logs
+#
+
+. ${DREPORT_INCLUDE}/functions
+
+DESCRIPTION="Host logs"
+LOGS_PATH="@LOG_OUTPUT_PATH@"
+
+if [[ -d ${LOGS_PATH} ]]; then
+  # Flush currently collected messages
+  busctl --no-pager --verbose call \
+    xyz.openbmc_project.HostLogger /xyz/openbmc_project/HostLogger \
+    xyz.openbmc_project.HostLogger Flush
+  # Copy log directory
+  add_copy_file "${LOGS_PATH}" "${DESCRIPTION}"
+fi