From: Laurentiu Palcu Date: Thu, 31 Jan 2013 08:31:49 +0000 (+0200) Subject: image.bbclass: add a proper error message if hook script fails X-Git-Tag: 2015-4~7696 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5e737d3c6e6546c1368e804f4c45ab25d8791ea3;p=openembedded-core.git image.bbclass: add a proper error message if hook script fails Signed-off-by: Laurentiu Palcu Signed-off-by: Saul Wold --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9b4dec8496..5cbf73aaae 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -10,6 +10,7 @@ inherit gzipnative LICENSE = "MIT" PACKAGES = "" +DEPENDS += "qemuwrapper-cross" RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}" RRECOMMENDS += "${NORMAL_FEATURE_INSTALL_OPTIONAL}" @@ -197,6 +198,9 @@ run_intercept_scriptlets () { echo "> Executing $script" chmod +x $script ./$script + if [ $? -ne 0 ]; then + echo "ERROR: intercept script \"$script\" failed!" + fi done fi }