diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2010-09-09 14:46:23 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-10 12:50:43 +0100 |
commit | d87034e41a666cb4ab0740bb6d1e2e8089401ef4 (patch) | |
tree | 84e3dc4481d0f22ceb404642d75bb047d649b61d /meta | |
parent | 75bffcd47ad9fec334150aab936e727054ff5cc8 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 5 |
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 | ||
207 | rootfs_rpm_log_check() { | 208 | rootfs_rpm_log_check() { |