Add rsyslog configuration
phosphor-sel-logger requires specific rsyslog configuration to work
correctly. Install the configuration to make it easier for integrators
to deploy.
Change-Id: Ib917aff68691658d06d22718e239ced1a15d033d
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/meson.build b/meson.build
index ecea2be..db0cd05 100644
--- a/meson.build
+++ b/meson.build
@@ -54,3 +54,10 @@
install_dir: systemd.get_variable('systemd_system_unit_dir'),
)
endif
+
+if not get_option('send-to-logger')
+ install_data(
+ 'rsyslog/phosphor-sel-logger.conf',
+ install_dir: join_paths(get_option('sysconfdir'), 'rsyslog.d'),
+ )
+endif