Verified Commit 254559fb authored by Karel Koci's avatar Karel Koci 🤘
Browse files

svupdater: do not run pkgupdate with --task-log

This removes task log. I was used as kind of history of changes but was
primarilly to observe long term execution. There are issues with it as
that we do not manage that log correctly (it is not logrotated). It is
also questionable how usable it is. One execution can be and is parsed
from state-log. This makes this file almost without use and not needed
for functionality at all. In the end making it adept for removal.
parent d35c3038
......@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- pkgupdate is now not run with `--task-log`
## [1.3.1] - 2020-05-06
......
......@@ -18,9 +18,7 @@ PKGUPDATE_ERROR_LOG = PKGUPDATE_STATE + "/last_error"
PKGUPDATE_CRASH_LOG = "/tmp/updater_crash.log"
# Updater run command
# TODO get rid of state log
PKGUPDATE_CMD = ['pkgupdate', '--batch', '--state-log',
'--task-log=/usr/share/updater/updater-log']
PKGUPDATE_CMD = ['pkgupdate', '--batch', '--state-log']
# pkgupdate default timeout
PKGUPDATE_TIMEOUT = 3000
# pkgupdate default kill timeout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment