summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
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/classes/rootfs_rpm.bbclass
parent75bffcd47ad9fec334150aab936e727054ff5cc8 (diff)
downloadpoky-d87034e41a666cb4ab0740bb6d1e2e8089401ef4.tar.gz
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/classes/rootfs_rpm.bbclass')
-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
200 log_check rootfs 200 log_check rootfs
201 201
202 # Workaround so the parser knows we need the resolve_package function! 202 # Workaround so the parser knows we need the resolve_package function!
203 exit 0 203 if false ; then
204 resolve_package foo || true 204 resolve_package foo || true
205 fi
205} 206}
206 207
207rootfs_rpm_log_check() { 208rootfs_rpm_log_check() {