Fix wait-target-done.c
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 6 Jul 2020 23:22:57 +0000 (08:22 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:49 +0000 (16:37 +0100)
commite3444e98d44ded480ba01c86c75a06278e4a9cae
treecd66261f43f33f6de717e6674484da525c37c000
parentbeaabd99b2cfbb67a3cb7a389195f86f12d291c6
Fix wait-target-done.c

1. Change inotify fd to nonblock.
2. Change timeout to use alarm(). And make it encompass
   the whole process, which now includes wd allocation.
3. Add dependency with tlm.service to
   system-delayed-target-trigger.service
4. Add journal log.

Change-Id: Ibec5e4f4030e26235dbba6610a5142d0e29e423f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
packaging/systemd.spec
packaging/wait-target-done.c
units/system-delayed-target-trigger.service.in