summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/af-main
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-26 10:32:25 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-28 10:17:19 +0000
commit3283601f4d9bb9e5ed5b0bf3e7190c33c168e0bf (patch)
treeef20b495130b77dae171b9cf1187861870e5f174 /meta-app-framework/recipes-core/af-main
parentca8367a37ff019862aae48fc5a3d05ad56f084ec (diff)
af-main: report error status in afm-install
The script afm-install wasn't able to report errors. This patch suggested by Tadao Tanikawa ensure that the status returned by dbus-send is reported to the caller and solves the issue. Bug-AGL: SPEC-699 Change-Id: Id9147794e534eeb9780ddfd4f4702becc87b2163 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9799 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-app-framework/recipes-core/af-main')
-rwxr-xr-xmeta-app-framework/recipes-core/af-main/af-main/afm-install1
-rw-r--r--meta-app-framework/recipes-core/af-main/af-main_1.0.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-app-framework/recipes-core/af-main/af-main/afm-install b/meta-app-framework/recipes-core/af-main/af-main/afm-install
index 6d37baed8..9b393c02a 100755
--- a/meta-app-framework/recipes-core/af-main/af-main/afm-install
+++ b/meta-app-framework/recipes-core/af-main/af-main/afm-install
@@ -15,6 +15,7 @@ send() {
org.AGL.afm.system.$1 \
"string:$2" |
pretty
+ return ${PIPESTATUS[0]}
}
case "$1" in
diff --git a/meta-app-framework/recipes-core/af-main/af-main_1.0.inc b/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
index cd286194b..124245d1e 100644
--- a/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
+++ b/meta-app-framework/recipes-core/af-main/af-main_1.0.inc
@@ -14,7 +14,7 @@ SRC_URI = "${SRC_URI_git} \
${SRC_URI_files} \
"
-SRCREV = "1a673de307982e7f2abfb362d2927e8e5e16be55"
+SRCREV = "31943af2e46375265bb865e20a6e50f365d2a6dd"
S = "${WORKDIR}/git"