summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2010-09-03 12:41:57 -0500
committerSaul Wold <Saul.Wold@intel.com>2010-09-03 18:30:47 -0700
commita9b715736f96e3a4ac3fa99737ae412c1ac4f01e (patch)
tree83e648b516566d97d6dfaf57ddb17c258ff884ee /meta/classes/rootfs_rpm.bbclass
parent7b017195a389d7e4d00b93f087ab098173c7e96f (diff)
downloadpoky-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/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass4
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
203rootfs_rpm_log_check() { 207rootfs_rpm_log_check() {