]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm: Fix workaround
authorMark Hatle <mark.hatle@windriver.com>
Thu, 9 Sep 2010 19:46:23 +0000 (14:46 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 10 Sep 2010 11:50:43 +0000 (12:50 +0100)
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 <mark.hatle@windriver.com>
meta/classes/rootfs_rpm.bbclass

index 55c851c463525461c3d169998bcd1e6e0824c3f2..24afac72b40a9862af396e78c3c2e2a24b9abba3 100644 (file)
@@ -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() {