diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2010-09-03 12:41:57 -0500 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-03 18:30:47 -0700 |
commit | a9b715736f96e3a4ac3fa99737ae412c1ac4f01e (patch) | |
tree | 83e648b516566d97d6dfaf57ddb17c258ff884ee /meta | |
parent | 7b017195a389d7e4d00b93f087ab098173c7e96f (diff) | |
download | poky-a9b715736f96e3a4ac3fa99737ae412c1ac4f01e.tar.gz |
rootfs_rpm: Workaround for checksum changes
With the new checksum changes, the system is no longer able to determine
if the function resolve_package is used. So it doesn't get emitted. The
workaround resolves this by triggering an exit 0, followed by a bogus usage
of the function.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 00da8e514e..09afa58103 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -198,6 +198,10 @@ EOF | |||
198 | rm -f ${IMAGE_ROOTFS}/install/install.manifest | 198 | rm -f ${IMAGE_ROOTFS}/install/install.manifest |
199 | 199 | ||
200 | log_check rootfs | 200 | log_check rootfs |
201 | |||
202 | # Workaround so the parser knows we need the resolve_package function! | ||
203 | exit 0 | ||
204 | resolve_package foo || true | ||
201 | } | 205 | } |
202 | 206 | ||
203 | rootfs_rpm_log_check() { | 207 | rootfs_rpm_log_check() { |