From: Laurentiu Palcu Date: Mon, 8 Apr 2013 15:06:40 +0000 (+0300) Subject: image.bbclass: fix postinstall intercepts fallback X-Git-Tag: 2015-4~6913 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0bdde53e885aae3506c7b070b6e21f64a7cd4115;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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