- Update to version 2.18.8: See https://github.com/COVESA/dlt-daemon/releases/tag/v2.18.9. - Drop CVE-2023-26257.patch: Fixed upstream. rename dlt-libs to libsdlt2 to comply with guidelines and linter Add missing rc links Do not build on ix86 because pandoc is not available Cleanup specfile Fix rpmlint errors Initial packaging OBS-URL: https://build.opensuse.org/request/show/1084084 OBS-URL: https://build.opensuse.org/package/show/devel:automotive/dlt-daemon?expand=0&rev=7
52 lines
2.2 KiB
Diff
52 lines
2.2 KiB
Diff
Index: dlt-daemon-2.18.9/src/daemon/dlt.conf
|
|
===================================================================
|
|
--- dlt-daemon-2.18.9.orig/src/daemon/dlt.conf
|
|
+++ dlt-daemon-2.18.9/src/daemon/dlt.conf
|
|
@@ -32,7 +32,7 @@ ECUId = ECU1
|
|
SharedMemorySize = 100000
|
|
|
|
# Directory where to store the persistant configuration (Default: /tmp)
|
|
-# PersistanceStoragePath = /tmp
|
|
+PersistanceStoragePath = /var/lib/dlt-daemon
|
|
|
|
# The logging console for internal logging of dlt-daemon (Default: 0)
|
|
# 0 = log to stdout
|
|
@@ -48,7 +48,7 @@ LoggingLevel = 6
|
|
# The logging filename if internal logging mode is log to file (Default: /tmp/dlt.log)
|
|
# If access to the file is not possible, the daemon will fall back to syslog
|
|
# if WITH_DLT_FILE_LOGGING_SYSLOG_FALLBACK is set as compile flag
|
|
-LoggingFilename = /tmp/dlt.log
|
|
+LoggingFilename = /var/lib/dlt-daemon/dlt.log
|
|
|
|
# Indicate whether size of logging file(s) is limited (Default: 0)
|
|
EnableLoggingFileLimit = 0
|
|
@@ -109,14 +109,14 @@ RingbufferStepSize = 500000
|
|
########################################################################
|
|
# Control Application #
|
|
########################################################################
|
|
-ControlSocketPath = /tmp/dlt-ctrl.sock
|
|
+ControlSocketPath = /run/dlt/dlt-ctrl.sock
|
|
|
|
########################################################################
|
|
# Offline Trace memory #
|
|
########################################################################
|
|
|
|
# Store DLT messages to local directory, if not set offline Trace is off (Default: off)
|
|
-# OfflineTraceDirectory = /tmp
|
|
+# OfflineTraceDirectory = /var/lib/dlt-daemon
|
|
|
|
# Maximum size in bytes of one trace file (Default: 1000000)
|
|
# OfflineTraceFileSize = 1000000
|
|
Index: dlt-daemon-2.18.9/systemd/dlt.service.cmake
|
|
===================================================================
|
|
--- dlt-daemon-2.18.9.orig/systemd/dlt.service.cmake
|
|
+++ dlt-daemon-2.18.9/systemd/dlt.service.cmake
|
|
@@ -24,6 +24,7 @@ ExecStart=@CMAKE_INSTALL_PREFIX@/bin/dlt
|
|
WatchdogSec=@DLT_WatchdogSec@
|
|
NotifyAccess=main
|
|
LimitCORE=infinity
|
|
+RuntimeDirectory=dlt
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|