From a9b715736f96e3a4ac3fa99737ae412c1ac4f01e Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 3 Sep 2010 12:41:57 -0500 Subject: 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 --- meta/classes/rootfs_rpm.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes/rootfs_rpm.bbclass') 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() { -- cgit v1.2.3-54-g00ecf