summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-13 17:11:31 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-13 17:11:31 +0100
commit68d2193f53bbb588680a71571485d1fe370662eb (patch)
tree610c5008efde7b4cd6ee880aad8014812bb1dc71 /meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
parent0ffb178ea81ebcde3990dd8269ccc08ebbc83416 (diff)
run-(agl-)postinst: Emit progress to console
It can be useful to get the progression of the postinstallation scripts. Change-Id: I21f70ee1a5cae36c924a1c664855ba4179b5acd7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend')
-rw-r--r--meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend b/meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
new file mode 100644
index 000000000..fc327b6ef
--- /dev/null
+++ b/meta-agl/recipes-devtools/run-postinsts/run-postinsts_%.bbappend
@@ -0,0 +1,5 @@
+do_configure_append() {
+ if ! grep -q StandardOutput= ${WORKDIR}/run-postinsts.service; then
+ sed -i '/ExecStart=/iStandardOutput=journal+console' ${WORKDIR}/run-postinsts.service
+ fi
+}