]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm: Workaround for checksum changes
authorMark Hatle <mark.hatle@windriver.com>
Fri, 3 Sep 2010 17:41:57 +0000 (12:41 -0500)
committerSaul Wold <Saul.Wold@intel.com>
Sat, 4 Sep 2010 01:30:47 +0000 (18:30 -0700)
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>
meta/classes/rootfs_rpm.bbclass

index 00da8e514ed47042783667d8947d0c3ce9013046..09afa5810354f32536efa9e0b34a0d75d01b5fdb 100644 (file)
@@ -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() {