]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm.bbclass: Remove temporary work files in install directory, saving the...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jan 2011 18:56:47 +0000 (18:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jan 2011 18:57:07 +0000 (18:57 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_rpm.bbclass

index 33abe96df982b408b3e5c5d6c50f9991e31fb68b..2f7d6916d9dafa03987927566b0d7b8b85416e46 100644 (file)
@@ -202,8 +202,11 @@ EOF
        # remove lock files
        rm -f ${IMAGE_ROOTFS}${rpmlibdir}/__db.*
 
-       # remove resolver files and manifests
-       rm -f ${IMAGE_ROOTFS}/install/install.manifest
+       # Move manifests into the directory with the logs
+       mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
+
+       # Remove all remaining resolver files
+       rm -f ${IMAGE_ROOTFS}/install
 
        log_check rootfs