summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2010-09-09 14:46:23 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-10 12:50:43 +0100
commitd87034e41a666cb4ab0740bb6d1e2e8089401ef4 (patch)
tree84e3dc4481d0f22ceb404642d75bb047d649b61d /meta
parent75bffcd47ad9fec334150aab936e727054ff5cc8 (diff)
downloadopenembedded-core-d87034e41a666cb4ab0740bb6d1e2e8089401ef4.tar.gz
openembedded-core-d87034e41a666cb4ab0740bb6d1e2e8089401ef4.tar.bz2
openembedded-core-d87034e41a666cb4ab0740bb6d1e2e8089401ef4.zip
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 <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_rpm.bbclass5
1 files changed, 3 insertions, 2 deletions
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() {