1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

image.bbclass: add a proper error message if hook script fails

(From OE-Core rev: 5e737d3c6e6546c1368e804f4c45ab25d8791ea3)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Laurentiu Palcu
2013-01-31 10:31:49 +02:00
committed by Richard Purdie
parent f33014f607
commit 5479aa4869
+4
View File
@@ -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
}