From d87034e41a666cb4ab0740bb6d1e2e8089401ef4 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 9 Sep 2010 14:46:23 -0500 Subject: rootfs_rpm: Fix workaround The exit 0 in the workaround seems to have causes the filesystem creation process to stop. Instead change it to an if that can never succeed. Signed-off-by: Mark Hatle --- meta/classes/rootfs_rpm.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta') diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 55c851c46..24afac72b 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -200,8 +200,9 @@ EOF log_check rootfs # Workaround so the parser knows we need the resolve_package function! - exit 0 - resolve_package foo || true + if false ; then + resolve_package foo || true + fi } rootfs_rpm_log_check() { -- cgit v1.2.3