summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-08 18:06:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-08 16:56:46 +0100
commit51f8dffeccbe8f1bcce449d9188a1e12421e1be5 (patch)
tree1caa6595314787617b351c850663a64ba8cc2108 /meta/classes/image.bbclass
parenta808efccad3a5cbb0c01fbda72390b8c905927a1 (diff)
downloadast2050-yocto-poky-51f8dffeccbe8f1bcce449d9188a1e12421e1be5.zip
ast2050-yocto-poky-51f8dffeccbe8f1bcce449d9188a1e12421e1be5.tar.gz
image.bbclass: fix postinstall intercepts fallback
The wrong type of paranthesis was used so 'continue' did nothing (was in another context) and the packages were marked as installed. (From OE-Core rev: 0bdde53e885aae3506c7b070b6e21f64a7cd4115) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 9721a6b..3cde0b8 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -186,7 +186,7 @@ run_intercept_scriptlets () {
[ "$script" = "*" ] && break
[ "$script" = "postinst_intercept" ] || [ ! -x "$script" ] && continue
echo "> Executing $script"
- ./$script || (echo "WARNING: intercept script \"$script\" failed, falling back to running postinstalls at first boot" && continue)
+ ./$script || { echo "WARNING: intercept script \"$script\" failed, falling back to running postinstalls at first boot" && continue; };
#
# If we got here, than the intercept was successful. Next, we must
# mark the postinstalls as "installed". For rpm is a little bit
OpenPOWER on IntegriCloud