From 0bdde53e885aae3506c7b070b6e21f64a7cd4115 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Mon, 8 Apr 2013 18:06:40 +0300 Subject: 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 --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') 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 -- cgit v1.2.3