From: Mark Hatle Date: Fri, 3 Sep 2010 17:41:57 +0000 (-0500) Subject: rootfs_rpm: Workaround for checksum changes X-Git-Tag: 2011-1~4605 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a9b715736f96e3a4ac3fa99737ae412c1ac4f01e;p=openembedded-core.git 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 --- 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() {