From: Mark Hatle Date: Thu, 9 Sep 2010 19:46:23 +0000 (-0500) Subject: rootfs_rpm: Fix workaround X-Git-Tag: 2011-1~4532 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d87034e41a666cb4ab0740bb6d1e2e8089401ef4;p=openembedded-core.git 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 --- diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 55c851c463..24afac72b4 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() {