From: Laurentiu Palcu Date: Mon, 8 Apr 2013 15:06:40 +0000 (+0300) Subject: image.bbclass: fix postinstall intercepts fallback X-Git-Tag: rev_ivi_2015_02_04~12991 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1ab7797857012830d599c58e17dfb6536f899f8;p=scm%2Fbb%2Ftizen-distro.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. (From OE-Core rev: 0bdde53e885aae3506c7b070b6e21f64a7cd4115) Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- 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