diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-04-08 18:06:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-08 16:55:52 +0100 |
commit | 0bdde53e885aae3506c7b070b6e21f64a7cd4115 (patch) | |
tree | aa13f7d6d2f1774008c4d8cad903fb0cdbde487e /meta | |
parent | da9515621134c26e54f43b96cdad0c6e6c5876bf (diff) | |
download | openembedded-core-0bdde53e885aae3506c7b070b6e21f64a7cd4115.tar.gz openembedded-core-0bdde53e885aae3506c7b070b6e21f64a7cd4115.tar.bz2 openembedded-core-0bdde53e885aae3506c7b070b6e21f64a7cd4115.zip |
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.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9721a6bd48..3cde0b8cba 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 |