It can be useful to get the progression of the
postinstallation scripts.
Change-Id: I21f70ee1a5cae36c924a1c664855ba4179b5acd7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
[Service]
Type=oneshot
+StandardOutput=journal+console
ExecStart=#SBINDIR#/run-agl-postinsts
ExecStartPost=#BASE_BINDIR#/systemctl disable run-agl-postinsts.service
RemainAfterExit=No
--- /dev/null
+do_configure_append() {
+ if ! grep -q StandardOutput= ${WORKDIR}/run-postinsts.service; then
+ sed -i '/ExecStart=/iStandardOutput=journal+console' ${WORKDIR}/run-postinsts.service
+ fi
+}