summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-a9b715736f96e3a4ac3fa99737ae412c1ac4f01e.tar.gz
openembedded-core-a9b715736f96e3a4ac3fa99737ae412c1ac4f01e.tar.bz2
openembedded-core-a9b715736f96e3a4ac3fa99737ae412c1ac4f01e.zip
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
rm -f ${IMAGE_ROOTFS}/install/install.manifest
log_check rootfs
+
+ # Workaround so the parser knows we need the resolve_package function!
+ exit 0
+ resolve_package foo || true
}
rootfs_rpm_log_check() {