Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Signalize run-agl-postinsts error appropriately to systemd
[AGL/meta-agl.git]
/
meta-agl-profile-core
/
recipes-devtools
/
run-agl-postinsts
/
run-agl-postinsts
/
run-agl-postinsts
diff --git
a/meta-agl-profile-core/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts
b/meta-agl-profile-core/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts
index
1d1a5a0
..
a044fb7
100755
(executable)
--- a/
meta-agl-profile-core/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts
+++ b/
meta-agl-profile-core/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts
@@
-45,4
+45,6
@@
systemctl daemon-reload
# since all postinstalls executed successfully, remove the postinstalls directory
if [ $remove_agl_pi_dir = 1 ]; then
rm -rf $agl_pi_dir
+ exit 0
fi
+exit 1