Add logging for ISU systemd generator to dlog 46/318246/1 accepted/tizen/9.0/unified/20250117.022451
authorAdam Michalski <a.michalski2@partner.samsung.com>
Tue, 10 Dec 2024 10:32:50 +0000 (11:32 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 14 Jan 2025 17:05:55 +0000 (18:05 +0100)
commit29b740a61c1f7fde22a352c0a1ae479ecc234280
tree616fb0ddb920b3f562b66465def3372268ecd87f
parente1ed9cbae826b50fcdb3b19677f0d06babe0d373
Add logging for ISU systemd generator to dlog

This commit introduces logging to dlog with a specified priority (Error
or Info in this case). The immediate terminal output via echo is kept,
as it's useful for manual systemd generator script debugging.

The rationale is that the systemd generator is executed at a very early
stage of system startup, in which the journal log and kmesg in the
Tizen version of systemd are unavailable.

Change-Id: I9de8e262eb240a22e5cfdc7b23786ba0506fbc06
packaging/isu.spec
src/systemd_generator/isu-generator