From 82b5fcf09e88f681a2146a4ff80d09f695a2f612 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Mon, 26 Jun 2017 10:32:25 +0200 Subject: af-main: report error status in afm-install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: I4a737986ced800d4f29f1c3fdbc65aa0e957962d Signed-off-by: José Bollo Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9833 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-app-framework/recipes-core/af-main/af-main/afm-install | 1 + meta-app-framework/recipes-core/af-main/af-main_1.0.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- cgit 1.2.3-korg