crash-manager: Add ExtraScript to config 25/208125/3
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 18 Jun 2019 10:57:48 +0000 (12:57 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 21 Jun 2019 18:26:02 +0000 (20:26 +0200)
commit8e2e40cc8470d0d829ad14df5cb35e5fdda76e02
tree972331a9c9166e50fb3dc6ea76b5fcd32e53c37f
parentdce1790207fe32b7d87a7a4ac6c571cfaba4246b
crash-manager: Add ExtraScript to config

ExtraScript will be called for report types >= FULL.  This will allow
attaching arbitrary data to crash report.  Script is called with report's
temporary directory as first and only argument, ie.

   exec("$ExtraScript", "/path/to/report/temp/dir", PID)

Change-Id: Icc38b92daae7a39b13063b2c45bffc1b863e72d6
packaging/crash-worker_system-tests.spec
src/crash-manager/crash-manager.c
src/crash-manager/crash-manager.conf
src/shared/config.c
src/shared/config.h
tests/system/CMakeLists.txt
tests/system/extra_script/extra_script.sh.template [new file with mode: 0644]